|
|
back to boardShow all messages Hide all messagesHint 👾_challenger128_[PermSU] 8 Nov 2020 18:46 You should find the permutation with the maximum number of inversions. You can use segment tree to calculate inversions for each element, just store sorted leafes in each node. |
|
|