Help needed for AtCoder Education DP Contest problem K: Stones

Правка en1, от deepansh09, 2023-08-31 15:56:45

Problem Link

Submission Link

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.

Теги atcoder, dp, atcoder educational dp, atcoder dp contest

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский deepansh09 2023-08-31 15:56:45 376 Initial revision (published)