red_coder's blog

By red_coder, 12 years ago, In English

Can anyone pls explain me in detail how to solve Problem C and Problem D of CF round 138 Div 2. I tried hard to understand from the editorial but they have simply given some hint in two or three lines and i am not able to understand the logic and thus need some very good explanation.....

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

»
12 years ago, # |
  Vote: I like it -8 Vote: I do not like it

For C, take a look at this very nice code. Might help you understand better.

»
12 years ago, # |
  Vote: I like it +3 Vote: I do not like it

I don't think you're trying to understand it. I myself read the editorial and then this code, I digested the logic pretty well.