QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#570659#8940. Piggy Sortucup-team4685WA 0ms3988kbC++141.8kb2024-09-17 16:56:492024-09-17 16:56:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 3988kb

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 
1 2 
check : 0 -54
1 -54 -54
2 -54 -54
3 -54 -54
4 -54 -54
5 -54 -54
6 -54 -54
7 -54 -54
8 -54 -54
9 -54 -54
10 -54 -54
11 -54 -54
12 -54 -54
13 -54 -54
14 -54 -54
15 -54 -54
16 -54 -54
17 -54 -54
18 -54 -54
19 -54 -54
ok
check : 0.028612 -59.236
1 -54 -54
2 87 87
3 88 88.2589
check : 0.0509334 -...

result:

wrong answer 3rd lines differ - expected: '1 2 6 10 5 7 9 4 3 8', found: 'check : 0 -54'