Cody

Solution 1322590

Submitted on 1 Nov 2017 by LY Cao
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 = 0.9996

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 = 0.9996 t = 0.9996 t = 0.9996 t = 0.9998 t = 0.9999 t = 0.9995 t = 0.9995 t = 0.9995 t = 0.9995