QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#411722#8055. Balanceucup-team2880WA 0ms9760kbC++206.2kb2024-05-15 18:45:592024-05-15 18:45:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 9760kb

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
3 3 3 2 1
No
Yes
2 1 2 2 3
Yes
2 2 1 1 1
No

result:

wrong answer 4-th smallest numbers are not same (test case 1)