Codeforces Round 971 (Div. 4) G1. Yunli’s Subarray Queries (easy version)
- Time : O(nlogk+qlogq)
- Space : O(q+k)
c++
1 |
|