We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Win or loose depends on number of remaining of pile of "1".
So, if there are pile of ">1" value, player can use those piles to controller number of remaining pile of "1".
Both player can use above pile to controller number of remaining of pile of "1", "Second" player always able to override controll of "Frist" player if number of pile of ">1" value is even && larger than 2.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Misère Nim
You are viewing a single comment's thread. Return to all comments →
Win or loose depends on number of remaining of pile of "1". So, if there are pile of ">1" value, player can use those piles to controller number of remaining pile of "1". Both player can use above pile to controller number of remaining of pile of "1", "Second" player always able to override controll of "Frist" player if number of pile of ">1" value is even && larger than 2.