QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38915#1265. Total EclipseMaMengQiWA 1044ms11296kbC++111.8kb2022-07-08 10:03:042022-07-08 10:03:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1044ms
memory: 11296kb

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:

15024049952546
16659615874110
400000005
400000003
8570569679955
9520650632671
9400448918419
10263555920402
9193131083717
10244613035867

result:

wrong answer 5th lines differ - expected: '5601933778666', found: '8570569679955'