Codeforces Round 579 (Div. 3) F2. Complete the Projects (hard version)
- Time : O(nlogn+n∗MAXr)
- Space : O(MAXr)
c++
1 |
|