Cody

Solution 1798411

Submitted on 27 Apr 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
x = 1800; y = 1800; assert(isequal(expected_score(x,y),0.5))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

2   Fail
x = 1900; y = 1800; assert(isequal(expected_score(x,y),0.64))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

3   Fail
x = 1900; y = 2000; assert(isequal(expected_score(x,y),0.36))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

4   Fail
x = 1900; y = 2100; assert(isequal(expected_score(x,y),0.24))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

5   Fail
x = 1800; y = 2775; assert(isequal(expected_score(x,y),0.004))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

6   Fail
x = 1800; y = 2865; assert(isequal(expected_score(x,y),0.002))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

7   Fail
x = 2865; y = 2775; assert(isequal(expected_score(x,y),0.627))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

8   Fail
x = 2865; y = 2851; assert(isequal(expected_score(x,y),0.52))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

9   Fail
x = 2865; y = 2844; assert(isequal(expected_score(x,y),0.53))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

10   Fail
x = 2785; y = 2865; assert(isequal(expected_score(x,y),0.387))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)

11   Fail
x = 2785; y = 1800; assert(isequal(expected_score(x,y),0.997))

Error in solution Line: 5 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "expected_score".)