SahilPranjal's blog

By SahilPranjal, history, 6 years ago, In English

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

  • Vote: I like it
  • -13
  • Vote: I do not like it

»
6 years ago, # |
Rev. 3   Vote: I like it +1 Vote: I do not like it

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

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

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