QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#211451#5500. Barsucup-team2039#WA 212ms5640kbC++201.6kb2023-10-12 16:29:182023-10-12 16:29:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 212ms
memory: 5640kb

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
375684581583
637893256471
543360149171
458946673513
296420749955
855261336659
615427188576
556421556404
225238173669
694340100796
453246372141
272326275445
585094154153
191225899469
336548830331
464297167473
595768581684
571560757084
401916229729
803486578727
944734403403
903777075490
26408806...

result:

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