Cody

Problem 928. New Cody Time-Out Time

Solution 2996890

Submitted on 27 Sep 2020 by Rafael S.T. Vieira
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
feval(@assignin,'caller','score',0);

2   Pass
filetext = fileread('Almost_Timeout.m'); assert(isempty(strfind(filetext, 'assignin'))) assert(isempty(strfind(filetext, 'rehash')),'rehash verboten')

3   Pass
ta=clock; tic Almost_Timeout(); toc t1=etime(clock,ta); t2=60-t1; feval(@assignin,'caller','score',floor(t2));

Elapsed time is 49.739326 seconds.

Suggested Problems

More from this Author246

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!