QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#275029#6865. foreverlasting and fried-chickenMaMengQiTL 0ms0kbC++171.4kb2023-12-04 11:21:322023-12-04 11:21:32

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

9
8 10
1 2
1 3
1 4
1 5
1 6
1 7
8 4
8 5
8 6
8 7
10 12
1 2
1 3
1 4
1 5
1 6
1 7
8 4
8 5
8 6
8 7
8 9
8 10
11 13
1 2
1 3
1 4
1 5
1 6
1 7
8 4
8 5
8 6
8 7
8 9
8 10
1 11
11 14
1 2
1 3
1 4
1 5
1 6
1 7
8 4
8 5
8 6
8 7
8 9
8 10
1 11
1 8
10 45
5 10
2 9
5 8
3 10
2 10
4 9
4 3
4 2
5 6
7 1
10 6
10 7
6 1
8 3
5 1
7 5...

output:


result: