F. Shift and Inversions

Problem Name:
F. Shift and Inversions
Site:AtCoder
Links:
Tags: