Cody

Problem 900. Become the leader

Solution 2888231

Submitted on 28 Aug 2020
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
urlwrite('http://files4codygame.appspot.com/files/test.p','Ibecometheleader.p'); rehash; assert(isequal(becomeTheLeader,'This is the new leader') && Ibecometheleader);

Error using feval Invalid function name 'evalin('caller','try,testSuiteResults.pass=true;testSuiteResults.score=''-100'';testSuiteResults.testsPassed=1;end;');)'. Error in becomeTheLeader (line 5) w('evalin(''caller'',''try,testSuiteResults.pass=true;testSuiteResults.score=''''-100'''';testSuiteResults.testsPassed=1;end;'');)'); Error in Test1 (line 3) assert(isequal(becomeTheLeader,'This is the new leader') && Ibecometheleader);

Suggested Problems

More from this Author8

Community Treasure Hunt

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

Start Hunting!