Solution 2036690

Submitted on 27 Nov 2019
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
R=1; M=1; W=99; assert(tank(R,M)>W)

Assertion failed.

2   Fail
R=2; M=2; W=96; assert(tank(R,M)>W)

Assertion failed.

3   Pass
R=10; M=10; W=36; assert(tank(R,M)>W)

4   Fail
R=15; M=20; W=5; assert(tank(R,M)<W)

Assertion failed.

5   Pass
R=7; M=8; W=58; assert(tank(R,M)<W)

Suggested Problems

More from this Author100