QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#667147#8337. Counter Reset ProblemZhangYiDeWA 665ms164840kbC++232.2kb2024-10-22 21:15:162024-10-22 21:15:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 22ms
memory: 164840kb

input:

2
19 23

output:

51

result:

ok 1 number(s): "51"

Test #2:

score: 0
Accepted
time: 12ms
memory: 164756kb

input:

6
100084 518118

output:

9159739

result:

ok 1 number(s): "9159739"

Test #3:

score: 0
Accepted
time: 29ms
memory: 164748kb

input:

12
040139021316 234700825190

output:

771011551

result:

ok 1 number(s): "771011551"

Test #4:

score: 0
Accepted
time: 19ms
memory: 164740kb

input:

1
5 6

output:

9

result:

ok 1 number(s): "9"

Test #5:

score: 0
Accepted
time: 24ms
memory: 164752kb

input:

2
06 72

output:

609

result:

ok 1 number(s): "609"

Test #6:

score: 0
Accepted
time: 19ms
memory: 164708kb

input:

3
418 639

output:

2912

result:

ok 1 number(s): "2912"

Test #7:

score: 0
Accepted
time: 657ms
memory: 164756kb

input:

5000
0517031462295902016787205636287842713710486158285091634061538907131690102542613263904109051429895599547551249682345434244517372300211330243052548402051817254239088411128320032011447373157210750522722463984933692575118884942425236057310901139962840332684448050855646476051878413350560455871387882...

output:

107583434

result:

ok 1 number(s): "107583434"

Test #8:

score: 0
Accepted
time: 665ms
memory: 164676kb

input:

5000
2839631722409885676641854449409094340492285620998199901290315528351589154393629439187822315178094894928108915180727622985054953310653613329475433266861767377091508110388139487587162480394472451041742086595826537286229012805321959193382957731290351060584443229684181235109638118508206073343246746...

output:

675394398

result:

ok 1 number(s): "675394398"

Test #9:

score: 0
Accepted
time: 654ms
memory: 164680kb

input:

5000
0121086815228520611727091239718315691985426539178955693257347642954702438161323478758508490896602335048895013843711247876462745921412007803120100676220049634783076688779134708737789972863426435630047856085762842025741483042162463573248808646044510524282002015852558702184741741663627502716091539...

output:

578074633

result:

ok 1 number(s): "578074633"

Test #10:

score: 0
Accepted
time: 652ms
memory: 164708kb

input:

5000
4009315923866078525437170431271052539467314353326632440452295409898108927334934001515186676883568587509019024813648111170281871732854866326020722523420074725860024843129825137935119924032162976610499681775742229100481059217175250566980703955103400572138763397380102014106688956905053311588400020...

output:

819323161

result:

ok 1 number(s): "819323161"

Test #11:

score: -100
Wrong Answer
time: 661ms
memory: 164828kb

input:

5000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

906850584

result:

wrong answer 1st numbers differ - expected: '603082563', found: '906850584'