problem D from CodeTON Round 8, my code get MLE: https://codeforces.com/contest/1942/submission/254227380, but why? I solve it in O(nklogn), and memory for O(nk), and MLE on test 5.
Why MLE
problem D from CodeTON Round 8, my code get MLE: https://codeforces.com/contest/1942/submission/254227380, but why? I solve it in O(nklogn), and memory for O(nk), and MLE on test 5.