Codeforces Round 661 (Div. 3) E1. Weights Division (easy version)
- Time : O(vloge+v+e)
- Space : O(v+e+elogwi)
c++
1 |
|