Блог пользователя ILoveBfsDfs

Автор ILoveBfsDfs, история, 8 лет назад, По-английски

http://codeforces.com/contest/437/problem/C

for second case if i remove 3 first cost=100 then remove 4 cost=100+100=200;(3 already removed) and 2 then will cost=200+100=300 and 1 cost=300+0=300; i find 300 ,but the result is 400, am i missing something ?

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится