I don't know why my solution works

Правка en1, от humbertoyusta, 2019-04-01 15:44:13

Hello I been recently solved this problem and I found a greedy solution and I don't know why is ok. I hope that any of you could explain me why it works or show me that it should not Here is my code http://codeforces.net/contest/1132/submission/51950554

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский humbertoyusta 2019-04-01 15:44:13 290 Initial revision (published)