逆序对

Luogu P1908逆序对 对于给定的一段正整数序列,逆序对就是序列中ai &

It's late! Remember to rest.