QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#105386#5500. Barschenchi#WA 336ms3428kbC++202.0kb2023-05-13 23:44:382023-05-13 23:44:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
5 2 2 6
5
1 5 4 4 1

output:

33
29

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 336ms
memory: 3428kb

input:

10000
4
5 2 2 6
5
1 5 4 4 1
197
763787596 15221694 898228999 187472305 466351873 822742732 437754202 800092772 843092246 915675776 166265020 346340615 796714085 497548541 182089610 64356048 363276768 181268733 257949015 236568898 752096761 928725929 443146784 114577469 833053207 38120723 14891030 41...

output:

33
29
354863046843
650024764160
550288673161
418912391452
279354971234
793191316488
432448495452
419036666000
208806217224
569935695552
466644027129
267690448078
548471274862
168280515248
336548832140
339079213617
524795306472
429728224140
414200955860
559187825445
745149717896
647724081032
22559385...

result:

wrong answer 3rd lines differ - expected: '382465638565', found: '354863046843'