QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#600186#9349. Exchanging Giftsucup-team4583#WA 64ms56716kbC++145.3kb2024-09-29 15:15:372024-09-29 15:15:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 56716kb

input:

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

output:

4
6

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 64ms
memory: 56452kb

input:

10000
100
1 30 371028678 371028678 371028678 716418076 398221499 591504380 398221499 398221499 591504380 777141390 398221499 591504380 591504380 777141390 287847807 716418076 777141390 716418076 777141390 287847807 287847807 287847807 371028678 371028678 398221499 777141390 371028678 6827702 6827702...

output:

100
100
100
90
100
100
100
100
100
0
92
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
0
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
0
100
100
100
0
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
100
98
100
0
100
100
100
100
0
100
100...

result:

wrong answer 1st lines differ - expected: '700', found: '100'