CSES — Removal Game

Revision en1, by NothingFU, 2023-08-26 22:24:39

I was read a solution of problem at here. But i don't know why minus dp[l+1][r] if first people choose a[l] and dp[l][r-1] if first people choose a[r]. Can else help me, thanks :>>

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English NothingFU 2023-08-26 22:24:39 242 Initial revision (published)