Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 D. Connect the Dots
- Time : O(nloglogn∗d2)
- Space : O(n+q)
c++
1 |
|