Codeforces Round 832 (Div. 2) D. Yet Another Problem
- Time : O(nlogn+q)
- Space : O(n+q)
c++
1 |
|