Cody

Solution 2131294

Submitted on 17 Feb 2020 by Nikolaos Nikolaou
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
R=1; M=1; W=99; assert(tank(R,M)>W)

q = 1 q = 2 W = 100

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

q = 3 W = 100

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

q = 4 W = 100

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

q = 5 W = 3.8760

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

q = 6 W = 55.9582

Suggested Problems

More from this Author100