Problem 1481. Game of Nim
55.56% Correct | 44.44% Incorrect
Last Solution submitted on Mar 15, 2023
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.
Solution CommentsShow comments
Problem Recent Solvers27
English to Pig Latin Translator
Flip the main diagonal of a matrix
Count consecutive 0's in between values of 1
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!