What I am trying to do in my solution is keeping track of the winner [1 if the player whose turn is wins else 2 (opponent wins)]. I am not able to figure out when does this fails.
Help needed for AtCoder Education DP Contest problem K: Stones
What I am trying to do in my solution is keeping track of the winner [1 if the player whose turn is wins else 2 (opponent wins)]. I am not able to figure out when does this fails.
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en1 | deepansh09 | 2023-08-31 15:56:45 | 376 | Initial revision (published) |