Cody

Solution 1737855

Submitted on 27 Feb 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   Pass
x = 13; y_correct = 339; assert(isequal(findlogic(x),y_correct))

a = 1 y = 339

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

a = 2 y = 1353

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

a = 3 y = 3044

Assertion failed.