XII NEERC Western Subregional Contest: Problem H

Revision en1, by Truba, 2016-02-23 18:13:58

Hi There! I am stuck on this problem. Can you give me some hints?

My #code gives WA#2.

Trying to solve with dynamic programming and binary searching the answer. Thanks!

Upd: You can check the correctness Here.

Tags dp, dynamic programming, neerc, help, nobody reads tags

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Truba 2016-02-23 18:13:58 373 Initial revision (published)