Cody

# Problem 1159. Coin Tossing: Probability of Same Heads for N tosses

Solution 1798417

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

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

2   Fail

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

3   Fail

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

4   Fail

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

5   Fail

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

6   Fail

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

7   Fail

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

8   Fail

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

9   Fail

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

10   Fail
assert(~isequal(1,2))

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

11   Fail