Codeforces Round 909 (Div. 3) G. Unusual Entertainment
- Time : O(qlogn+nlogn)
- Space : O(n+q)
c++
1 |
|