Codeforces Round 617 (Div. 3) F. Berland Beauty
- Time : O(qlogv+qv+e)
- Space : O(v+e)
c++
1 |
|