Problem 1481. Game of Nim
Solution Stats
Problem Comments
-
1 Comment
Paul Berglund
on 2 May 2013
For the test case [7 7 7] all of [1 7] [2 7] [3 7] should be valid responses, right? Also you don't have any test cases where the game is not winnable.
Problem Recent Solvers25
Suggested Problems
-
7793 Solvers
-
Check to see if a Sudoku Puzzle is Solved
303 Solvers
-
Test if a Number is a Palindrome without using any String Operations
194 Solvers
-
Recurring Cycle Length (Inspired by Project Euler Problem 26)
89 Solvers
-
592 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!