Codeforces Round 847 (Div. 3) F. Timofey and Black-White Tree
- Time : O(elogv+qlogv)
- Space : O(vlogv)
c++
1 |
|