Cody

Solution 1825564

Submitted on 25 May 2019
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
x = 13; y_correct = 339; assert(isequal(findlogic(x),y_correct))

Undefined function or variable 'y'. Error in findlogic (line 2) y > x Error in Test1 (line 3) assert(isequal(findlogic(x),y_correct))

2   Fail
x = 26; y_correct = 1353; assert(isequal(findlogic(x),y_correct))

Undefined function or variable 'y'. Error in findlogic (line 2) y > x Error in Test2 (line 3) assert(isequal(findlogic(x),y_correct))

3   Fail
x = 39; y_correct = 3043; assert(isequal(findlogic(x),y_correct))

Undefined function or variable 'y'. Error in findlogic (line 2) y > x Error in Test3 (line 3) assert(isequal(findlogic(x),y_correct))