QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#33381#1265. Total EclipseZhangYiDeWA 790ms11604kbC++171.3kb2022-05-31 23:40:392022-05-31 23:40:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3136kb

input:

1
3 2
3 2 3
1 2
2 3

output:

4

result:

ok single line: '4'

Test #2:

score: -100
Wrong Answer
time: 790ms
memory: 11604kb

input:

10
90000 89999
29695126 280198164 879119046 430007344 949559367 73085127 889966040 364820814 284458985 931692411 799753826 296370022 333668874 420472873 151595337 343496667 39363958 831424981 863897406 650573429 217091529 533448388 789707546 749864138 599409565 909987504 320920370 476338054 11898738...

output:

15015825685270
-13230089730309
1000004
-397651998
-26125102513073
-28875542894128
-29164342921158
-27864495452142
-25089114556480
-27863134607186

result:

wrong answer 1st lines differ - expected: '15024049952546', found: '15015825685270'