Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

selfcompiler's blog

By selfcompiler, 5 years ago, In English,

I read the editorial of the this Problem but i am not able to get the idea, would anyone like to help me to understand the solution of problem .

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it