Cody

Solution 1927677

Submitted on 9 Sep 2019 by Nikolaos Nikolaou
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 = 1; y_correct = 1; assert(isequal(pow2Pow(x),y_correct))

l = 1 y = 1

2   Pass
x = 2; y =2; y_correct = 4; assert(isequal(pow2Pow(x,y),y_correct))

l = 2 2 y = 4

3   Pass
x = 2; y= 2; z=3; y_correct = 64; assert(isequal(pow2Pow(x,y,z),y_correct))

l = 2 2 3 y = 4 y = 64