QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#541512#8940. Piggy Sortucup-team4742#WA 1ms3556kbC++142.4kb2024-08-31 19:47:452024-08-31 19:47:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 4
1 2
3 4
5 6
7 8
1 2
1
1
3 4
1 2 3
6 9 9
10 15 17
12 18 21

output:

1 2 
1 
3 1 2 

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3556kb

input:

41
1 2
-19
9531
2 3
11 13
3175 4759
2211 3313
10 19
-54 -25 -19 -18 -1 3 61 63 85 88
-54 753 863 2397 3111 4649 4671 4756 5507 7762
-54 369 479 1245 1575 2345 2367 2452 2819 3922
-54 553 663 1797 2311 3449 3471 3556 4107 5762
-54 87 197 399 447 653 675 760 845 1102
-54 320 430 1098 1379 2051 2073 21...

output:

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

result:

wrong answer 2nd lines differ - expected: '1 2', found: '2 1 '