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

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

Hi all please help me solve problem https://mirror.codeforces.com/contest/1110/problem/D.. is not work i greedy approach:https://mirror.codeforces.com/contest/1110/submission/49638674. Please help i new here

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

»
5 лет назад, # |
Rev. 3   Проголосовать: нравится +1 Проголосовать: не нравится

Here's the link to an official editorial: https://mirror.codeforces.com/blog/entry/65079 In case you need better clarification, look at this blog: https://mirror.codeforces.com/blog/entry/65092

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

This problem cannot be solve by greedy algorithms(Probably?).

(Also you submitted it before you pass all the examples?)