Cody

Solution 1482853

Submitted on 7 Apr 2018 by J. S. Kowontan
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
p = 1000; n=2; r=8; y_correct = 160; assert(isequal(SI(p,n,r),y_correct))