Cody

Solution 1315595

Submitted on 26 Oct 2017 by Alfonso Nieto-Castanon
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