很神奇的预处理思路,想得到要贪心但想不到这种预处理。
2021-02-16
Codeforces Round /#580 (Div. 2) D. Shortest Cycle(Floyd求最小环)