QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#417570#6413. Classical Graph Theory ProblemZ_301RE 8ms67240kbC++177.2kb2024-05-22 19:46:392024-05-22 19:46:40

詳細信息

Test #1:

score: 100
Accepted
time: 8ms
memory: 67240kb

input:

2
6 7
1 2
1 3
2 3
3 4
4 5
4 6
5 6
3 2
1 2
2 3

output:

3 4 5 
2 

result:

ok ok (2 test cases)

Test #2:

score: -100
Runtime Error

input:

10000
2 1
1 2
29 28
13 19
16 5
21 7
22 10
10 2
1 18
27 13
10 3
11 23
12 22
11 7
7 17
29 17
9 1
28 21
2 18
13 9
4 25
20 16
5 14
20 7
14 4
12 8
8 24
17 19
15 1
11 6
26 9
13 12
13 9
12 2
6 12
9 11
5 2
8 10
6 10
3 10
7 1
7 5
8 9
4 1
12 11
10 6
2 8
12 4
5 10
11 1
3 1
10 1
12 9
9 1
8 3
7 1
35 35
13 8
34 1...

output:


result: