Need help in a 1400 rated problem

Правка en1, от Watermelon, 2021-06-09 14:27:36

I am solving this problem and I am unable to solve it. I read the editorial but don't understand it. I feel sad to not even understand the editorial of a 1400 rated problem. https://mirror.codeforces.com/problemset/problem/388/A

Can someone please explain this to me? Thanks.

Теги #greedy, #sorting, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Watermelon 2021-06-09 14:27:36 305 Initial revision (published)