Cody

Solution 59354

Submitted on 11 Mar 2012 by @bmtran
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 = 10; % peddlers-IV under every helper-III y = 1000000; % net dollars minimum z = 1; % retire counter minimum assert(10==Pyramidad(y,z))
2   Pass
%% x = 10; % peddlers-IV under every helper-III y = 1999000; % net dollars minimum z = 2; % retire counter minimum assert(10==Pyramidad(y,z))
3   Pass
%% x = 5; % peddlers-IV under every helper-III y = 373000; % net dollars minimum z = 3; % retire counter minimum assert(5==Pyramidad(y,z))