Cody

Solution 1236860

Submitted on 22 Jul 2017 by Anupam Agarwal
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
A = 4; B = 3; C = 2; correct_ans = 7; assert(isequal(BT_Solver(A,B,C),correct_ans))

2   Pass
A = 4; B = 3; C = 5; correct_ans = 8; assert(isequal(BT_Solver(A,B,C),correct_ans))

3   Pass
A = 30; B = 14; C = 15; correct_ans = 41; assert(isequal(BT_Solver(A,B,C),correct_ans))

4   Pass
A = 3; B = 5; C = 12; correct_ans = 16; assert(isequal(BT_Solver(A,B,C),correct_ans))

5   Pass
A = 54; B = 48; C = 90; correct_ans = 132; assert(isequal(BT_Solver(A,B,C),correct_ans))

Suggested Problems

More from this Author2