Cody

Problem 1355. Given area find sides

Solution 2833992

Submitted on 14 Aug 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
A = 400; y_correct = 20; assert(isequal(findside(A),y_correct))

Error in solution: Line: 2 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
A = 144; y_correct = 12; assert(isequal(findside(A),y_correct))

Error in solution: Line: 2 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

3   Fail
A = 225; y_correct = 15; assert(isequal(findside(A),y_correct))

Error in solution: Line: 2 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

4   Fail
A = 256; y_correct = 16; assert(isequal(findside(A),y_correct))

Error in solution: Line: 2 Column: 10 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.