Problem 326. Tricky timing

Solution 179462

Submitted on 19 Dec 2012 by Mehmet OZC
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
%% tic; y=foo(1); t2=toc assert((t2>.5)&&(t2<.6))

y = 0.5786 t2 = 0.5788