What’s the logic used to solve INVZCNT ( Counting Inversions Again! ) October lunctime to pass all the subtask without tle ?
Check this for INVZCNT: INVZCNT Unofficial editorial