Inversions problem

Problem Name:
Inversions problem
Site:CodeForces
Links:
Tags:
Problem setters: