Problem 1481. Game of Nim
Solution Stats
Problem Comments
-
2 Comments
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.
Shashank
on 18 Jul 2023
Isn't the answer supposed to be a binary output?
Solution Comments
Show commentsProblem Recent Solvers34
Suggested Problems
-
Maximum running product for a string of numbers
1931 Solvers
-
Convert a numerical matrix into a cell array of strings
1395 Solvers
-
1151 Solvers
-
Convert Two Character String into a Binary Vector
165 Solvers
-
898 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!