Codeforces Round 544 (Div. 3) E. K Balanced Teams
- Time : O(nlogn+nk)
- Space : O(nk)
c++
1 |
|