ZnZrYb's blog

By ZnZrYb, history, 4 months ago, In English

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.

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.

Full text and comments »

Tags dp
  • Vote: I like it
  • 0
  • Vote: I do not like it