Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) D. Potion Brewing Class
- Time : O(v+e∗log(n))
- Space : O(v+e)
c++
1 |
|