Help needed — 234C

Revision en2, by 4e494b, 2019-07-13 01:57:01

Hello codeforces community.

I was trying to solve question 234C from codeforces round #145 and I could not come up with a scheme/way to solve it. So I tried looking for the editorials for this round but could not find it. Also, I looked at successful submission but could not understand the intended solution for this problem.

It would help me if you could share your approach on how you would solve this problem.

Thank You.

Tags #dp, no-editorial

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English 4e494b 2019-07-13 04:00:46 9
en2 English 4e494b 2019-07-13 01:57:01 38
en1 English 4e494b 2019-07-13 01:55:15 503 Initial revision (published)