Codeforces Round 971 (Div. 4) F. Firefly’s Queries
- Time : O(n+q)
- Space : O(n)
c++
1 |
|