Cody

Problem 928. New Cody Time-Out Time

Solution 132884

Submitted on 30 Aug 2012
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
feval(@assignin,'caller','score',0);

Error: You may not use the command(s) assignin, feval in your code

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

Error: You may not use the command(s) assignin, feval in your code

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

Error: You may not use the command(s) assignin, feval in your code

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!