QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#86210#5500. BarsZhaoZiLongWA 259ms3336kbC++201.1kb2023-03-09 15:26:322023-03-09 15:27:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 259ms
memory: 3336kb

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
375498638904
658107691029
545673501885
418909554186
283456842442
844587116489
626303629620
560932407693
208791387694
687518954905
466644027129
277818979449
548468308901
194258207786
336548832140
461684330182
582657168479
562399267156
404629950944
795398516700
937086771519
876205031557
22908195...

result:

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