Cody

Solution 796940

Submitted on 22 Dec 2015
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   Fail
%% timetorun(); t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

Assertion failed.

2   Pass
%% t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

3   Pass
%% t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

4   Pass
%% t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)

5   Pass
%% t0 = tic; pause(1) t1 = timetorun(); t2 = toc(t0)-(t1+1); assert(abs(t2)<5e-3)