Cody

Solution 1997478

Submitted on 31 Oct 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
A = 4; B = 3; C = 2; correct_ans = 7; assert(isequal(BT_Solver(A,B,C),correct_ans))

s = 4 center = 2 center_area = 2

Assertion failed.

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

s = 5 center = 2.2361 center = 2.4495 center = 2.6458 center = 2.8284 center = 3 center_area = 3

Assertion failed.

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

s = 30 center = 5.4772 center = 5.5678 center = 5.6569 center = 5.7446 center = 5.8310 center = 5.9161 center = 6 center_area = 6

Assertion failed.

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

s = 12 center = 3.4641 center = 3.6056 center = 3.7417 center = 3.8730 center = 4 center_area = 4

Assertion failed.

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

s = 90 center = 9.4868 center = 9.5394 center = 9.5917 center = 9.6437 center = 9.6954 center = 9.7468 center = 9.7980 center = 9.8489 center = 9.8995 center = 9.9499 center = 10 center_area = 10

Assertion failed.