Cody

Problem 900. Become the leader

Solution 2888204

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: File: becomeTheLeader.m Line: 3 Column: 19 Invalid syntax for calling function 'varargin' on the path. Use a valid syntax or explicitly initialize 'varargin' to make it a variable. 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!