QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#817310#9318. AC Automation Chickenjinqihao2023WA 277ms14352kbC++142.7kb2024-12-16 21:35:212024-12-16 21:35:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
4
1 4
4 1
1 2
2 1
2 3
3 4
2
1 2
1 2
1
3
1 2
2 1
2 3
3 2

output:

Yes
1 2 1
2 3 2
4 1 1
No
Yes
Yes
1 2 1
2 3 1

result:

ok ok (4 test cases)

Test #2:

score: -100
Wrong Answer
time: 277ms
memory: 14352kb

input:

50000
10
5 4
1 2
4 10
8 4
7 4
6 4
4 7
4 8
10 4
1 4
2 7
3 9
10 6
10 1
4 3
9 4
3 4
4 5
10
8 4
7 8
9 8
3 8
4 9
2 8
10 8
8 2
4 7
9 5
5 8
6 2
4 8
7 1
9 3
9 6
1 8
2 10
10
3 8
6 10
7 6
7 5
2 6
7 4
6 1
6 7
1 3
9 7
10 7
5 7
1 7
4 7
3 7
8 7
5 9
1 2
10
5 4
2 6
3 1
9 1
1 5
8 10
2 1
8 1
1 2
4 1
10 2
7 1
6 1
1 8
...

output:

Yes
1 2 2
3 9 8
4 10 1
4 7 2
4 8 3
4 3 4
4 5 5
10 6 6
10 1 7
Yes
2 10 5
4 9 3
4 7 4
7 1 8
8 4 1
8 2 2
9 5 6
9 3 7
9 6 2
Yes
1 3 7
1 2 1
3 8 8
5 9 6
6 10 4
6 1 5
7 6 1
7 5 2
7 4 3
Yes
1 5 1
1 2 2
1 8 3
2 6 6
5 4 4
5 9 5
8 10 2
8 7 7
9 3 8
Yes
2 6 1
5 4 1
5 10 2
5 7 3
5 2 4
6 9 4
7 1 2
9 8 2
9 3 5
Yes...

result:

wrong answer Token parameter [name=answer] equals to "10_(7,9)(4,10)(4,8)(10,4)(4,7)(3,5)(8,10)", doesn't correspond to pattern "[a-zA-Z]{1,3}" (test case 1042)