如果你只对了第一个点:
dfs序的写法是 dfsx[++tot]=u,写反会变成时间戳。
dfsx[++tot]=u
C23huangminzhe LV 7
By signing up a ZXOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your ZXOJ universal account