greedy ?

Revision en1, by nirob_mh, 2015-07-29 07:07:12

Problem : http://acm.timus.ru/problem.aspx?space=1&num=2021

I tried to solve this problem in greedy way. But could not manage it . Can i really solve this greedily ? Or i need a different approach.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English nirob_mh 2015-07-29 07:07:12 209 Initial revision (published)