谢谢你,但我准备先用 1 为根 dfs 再把根改回 root( by y_kx_b @ 2023-02-06 11:36:43
草 指的是我dfs2从root开始搜但是指定1为top/kk by _Remake_ @ 2023-02-06 11:48:36