Codeforces Round 905 (Div. 1) B. Time Travel
- Time : O(v∗e∗log(k))
- Space : O(v+e+k)
c++
1 |
|