deepakanto's blog

By deepakanto, history, 17 months ago, In English

https://codeforces.com/contest/1774/problem/C i tried going through the editorial but it went over my head so if anyone could , help me understand the idea behind this problem would be helpful .

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
17 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Calculate manually for some small cases and you will find the pattern(That's how I solved this problem)