Please, can anyone provide editorial or solution of problem Bye, inversions!
[Editorial BY Anudeep ][1]Kharagpur Online Round 2014 - Google Docs