Codeforces Round #814 (Div. 2) C. Fighting Tournament
- Time : O(qlogq + n)
- Space : O(n + q)
c++
1 |
|