Codeforces Round 974 (Div. 3) H. Robin Hood Archery
- Time : O(n∗√n)
- Space : O(q+n)
c++
1 |
|