版本比较
P10140 [USACO24JAN] Island Vacation P
正文
增加 1 行删除 1 行
505 行未改动全部展开50650750850951051051151251351428 行未改动505 行未改动全部展开 read(x, y), addEdge(x, y), addEdge(y, x);
cnt = 0, memset(dfn + 1, 0, n * sizeof(int)), tot = n; tarjan(1, 0);
DFS_Yuan(1, 0), getResult(1, 1);
for (int i = 1; i <= n; ++i) write(res[i], " \n"[i == n]);}28 行未改动