Cody

Solution 261268

Submitted on 14 Jun 2013 by andrea84
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 = [12368933, 12345931, 68221, 533111, 3819999999999]; y_correct = [12345931, 12368933, 3819999999999, 533111, 68221]; assert(isequal(your_fcn_name(x),y_correct))
p = 12368933 n = 12333 p = 12345931 n = 12333 12331 p = 68221 n = 12333 12331 68221 p = 533111 n = 12333 12331 68221 53311 p = 3819999999999 n = 12333 12331 68221 53311 38199 a = 1.0e+12 * 0.0000 0.0000 0.0000 0.0000 0.0000 3.8200 0.0000 0.0000 0.0000 0.0000 a = 1.0e+12 * 0.0000 0.0000 3.8200 0.0000 0.0000