Cody

Solution 716630

Submitted on 18 Aug 2015 by LY Cao
  • Size: 8
  • This is the leading solution.
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= 100; R=10 n=1 y_correct = 110; assert(isequal(your_fcn_name(p,R,n),y_correct))

R = 10 n = 1 ans = 110