o927. 鐵路 (Rail)
Tags : DSU 圖論
Accepted rate : 43人/50人 ( 86% ) [非即時]
評分方式:
Tolerant

最近更新 : 2024-11-18 08:47

Input
Output
Sample Input #1
7 6
0 1
1 2
2 0
1 3
4 5
5 6
Sample Output #1
1 1
Sample Input #2
6 6
0 1
1 2
2 0
3 4
4 5
5 3
Sample Output #2
2 0
Sample Input #3
2 1
0 1
Sample Output #3
0 1
Sample Input #4
12 10
2 1
2 3
1 0
0 4
8 10
10 7
7 11
9 10
6 8
5 7
Sample Output #4
0 2
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 1.0s , <1K
公開 測資點#1 (5%): 1.0s , <1K
公開 測資點#2 (5%): 1.0s , <1K
公開 測資點#3 (5%): 1.0s , <1K
公開 測資點#4 (5%): 1.0s , <1K
公開 測資點#5 (5%): 1.0s , <1M
公開 測資點#6 (5%): 1.0s , <1M
公開 測資點#7 (5%): 1.0s , <1M
公開 測資點#8 (5%): 1.0s , <1M
公開 測資點#9 (5%): 1.0s , <10M
公開 測資點#10 (5%): 1.0s , <1K
公開 測資點#11 (5%): 1.0s , <1K
公開 測資點#12 (5%): 1.0s , <1M
公開 測資點#13 (5%): 1.0s , <1M
公開 測資點#14 (5%): 1.0s , <1M
公開 測資點#15 (5%): 1.0s , <1M
公開 測資點#16 (5%): 1.0s , <1M
公開 測資點#17 (5%): 1.0s , <1M
公開 測資點#18 (5%): 1.0s , <1M
公開 測資點#19 (5%): 1.0s , <1M
Hint :
Tags:
DSU 圖論
出處:
TOI練習賽202411潛力組第2題 [管理者: liaoweichen1 ... (M_SQRT) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
44703 henry.rem.re ... (*ฅ́˘ฅ̀*) o927
解題思路
107 2024-12-17 00:07
44254 s10900156@nh ... (ShanC) o927
169 2024-11-18 13:24