QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#330078#8055. Balanceucup-team1878#WA 171ms3648kbC++206.6kb2024-02-17 12:02:242024-02-17 12:02:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3636kb

input:

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

output:

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

result:

ok ok (5 test cases)

Test #2:

score: -100
Wrong Answer
time: 171ms
memory: 3648kb

input:

100000
4 3
4 2
1 3
2 1
2 1 3 2
5 7
2 5
5 3
2 3
5 1
4 3
2 4
4 3
1 3 1 1 2
3 2
2 1
2 3
1 1 1
4 7
3 4
1 4
2 3
4 3
4 2
3 1
4 3
2 3 3 2
4 6
2 4
3 1
1 2
1 2
2 3
4 2
1 1 3 3
4 7
3 2
4 2
1 2
3 4
3 2
2 4
3 4
2 1 1 1
5 5
3 2
1 5
4 5
4 3
2 1
1 2 2 3 2
3 5
2 3
1 3
3 1
3 1
2 1
3 2 3
2 3
2 1
2 1
1 2
1 1
2 3
2 1
1...

output:

Yes
2 2 3 1
No
Yes
3 0
0 No
No
Yes
2 1 1 1
No
No
Yes
2
0 Yes
2
0 Yes
2
0 Yes
4 0 0
0 No
Yes
5 0 0 0
22083 Yes
1 3 1 1 1
Yes
3 0
0 Yes
2 1
Yes
5 0 0 0
6 Yes
2 1
No
Yes
2
0 Yes
3 0
0 Yes
2
0 Yes
4 0 0
0 Yes
2
0 Yes
5 0 0 0
22083 Yes
5 0 22083 0
22083 Yes
2
0 Yes
1 1 1 2
No
Yes
2
0 No
Yes
2
0 No
No
No
...

result:

wrong answer Integer parameter [name=a[i]] equals to 0, violates the range [1, 3] (test case 3)