Cody

# Problem 44711. Toads and Frogs Puzzle 2

Solution 1724906

Submitted on 11 Feb 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: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test1 (line 1) [jump,slide] = ToadsFrogs2(0);

2   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test2 (line 1) [jump,slide] = ToadsFrogs2(1);

3   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test3 (line 1) [jump,slide] = ToadsFrogs2(3);

4   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test4 (line 1) [jump,slide] = ToadsFrogs2(7);

5   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test5 (line 1) [jump,slide] = ToadsFrogs2(11);

6   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test6 (line 1) [jump,slide] = ToadsFrogs2(17);

7   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test7 (line 1) [jump,slide] = ToadsFrogs2(23);

8   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test8 (line 1) [jump,slide] = ToadsFrogs2(29);

9   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test9 (line 1) [jump,slide] = ToadsFrogs2(41);

10   Fail

Error: File: ToadsFrogs2.m Line: 2 Column: 3 "jump" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test10 (line 1) [jump,slide] = ToadsFrogs2(50);

11   Fail