Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

AC with a “suspicious” DP — looking for counterexamples / hacks
Difference between en1 and en2, changed 0 character(s)
Codeforces Round 1077 (Div. 2)——D. Shortest Statement Ever↵
↵
Because I do not find a dp solution, so I write one by myself, and it gets AC verdict. ↵
↵
[submission:360662700]↵
↵
However, I feel a little strange about my solution, because I think there are some flaws, but I cannot find counterexamples.↵
↵
So, please help me review my code and solution. I'm glad about my solution to be hacked.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ZnZrYb 2026-01-30 11:10:42 0 (published)
en1 English ZnZrYb 2026-01-30 11:09:51 458 Initial revision (saved to drafts)