QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#584261#2210. Hamilton PathFantasy_BallWA 125ms24388kbC++201.9kb2024-09-23 10:59:542024-09-23 10:59:56

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 24312kb

input:

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

output:

2
13425 34251 

result:

ok 3 number(s): "2 13425 34251"

Test #2:

score: -100
Wrong Answer
time: 125ms
memory: 24388kb

input:

67777
9 32
6 3
5 2
7 3
7 8
5 2
5 2
7 8
8 2
7 3
8 9
4 3
2 3
4 3
3 1
1 3
8 3
9 8
3 2
5 6
4 5
9 4
6 7
2 8
5 4
5 3
7 8
5 1
6 9
8 3
6 9
7 8
4 1
5 12
3 5
2 3
4 5
2 5
5 3
1 4
3 2
2 4
1 4
4 1
2 5
4 5
2 10
1 2
1 2
1 2
2 1
1 2
1 2
1 2
1 2
1 2
1 2
10 28
1 9
5 9
6 1
10 5
8 7
1 4
7 10
7 5
6 8
9 4
2 9
6 4
2 6
1 1...

output:

1
132894567 
2
15324 41532 
2
12 21 
0
1
12356874 
2
12 21 
1
1735624 
1
1 
2
132645 451326 
0
0
1
196524738 
1
123 
2
15243 31524 
2
12 21 
1
1 
1
12 
1
123 
1
12687534 
2
702453782 891702404 
1
134526 
3
136524 365241 652413 
1
12345 
1
15423 
2
12 21 
1
1356247 
2
1346752 6752134 
0
1
123 
0
1
13...

result:

wrong answer 4th numbers differ - expected: '14532', found: '15324'