Cody

Solution 2084817

Submitted on 9 Jan 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
x=conpow(); d = x(1)^x(2)-x(3)^x(4); y_correct = 1; assert(isequal(d,y_correct))

x = 3 y = 2 p1 = 2 p2 = 3

Index exceeds the number of array elements (1). Error in Test1 (line 2) d = x(1)^x(2)-x(3)^x(4);

Suggested Problems

More from this Author11