Cody

Solution 1313542

Submitted on 24 Oct 2017 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
t_correct = 1000; tic; waitForMe(t_correct); t = toc assert( abs(t_correct - t*1000) <= 0.5 )

t = 1.0001

2   Pass
t_correct = 1000; for r = 1 : 9 tic; waitForMe(t_correct); t = toc assert( abs(t_correct - t*1000) <= 0.5 ) end;

t = 1.0002 t = 1.0001 t = 1.0001 t = 1.0003 t = 1.0004 t = 1.0000 t = 1.0000 t = 1.0000 t = 1.0000

Suggested Problems