Cody

Solution 2164056

Submitted on 18 Mar 2020
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   Fail
tt=18; rate1=3; rate2=2; y_correct =[12,4,2]; assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))

s = 9 s = 9 27 s = 9 27 54 s = 54 27 9

Assertion failed.

2   Fail
tt=32; rate1=4; rate2=3; y_correct =[24,6,2]; assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))

s = 16 s = 16 64 s = 16 64 192 s = 192 64 16

Assertion failed.

3   Fail
tt=58; rate1=6; rate2=4; y_correct =[48,8,2]; assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))

s = 29 s = 29 174 s = 29 174 696 s = 696 174 29

Assertion failed.