결국 counting inversion 구하고

같은 색끼리 좌표압축 하고 또 counting inversion구하고 결과에서 빼버리면 되는건데

솔브수가 왜이리 많냐...

F솔했는데 뭔 700등이나 하냐 쩝