QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637904#7036. Can You Solve the Harder Problem?ZhangYiDeWA 994ms27908kbC++143.6kb2024-10-13 14:21:152024-10-13 14:21:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 994ms
memory: 27908kb

input:

1000
407
205460 200518 200561 199235 198814 198136 198802 206763 198795 200705 205862 209366 204017 209481 206300 198499 197364 200897 208928 196983 205605 206396 205140 201050 199886 207314 196947 207905 204999 203288 200298 198594 198286 197714 206506 203962 197628 201127 206380 199090 200711 2063...

output:

17366172677
480807644715
1419635522
472735274995
487612688503
303199567374
483737158498
489258278557
480923572418
480380074230
33691033559
224415633089
487297555273
492012350896
482153986530
476314604668
341139886661
485103326312
486668790130
9718867255
488130004885
120460424371
481692800712
4696014...

result:

wrong answer 1st lines differ - expected: '17377263880', found: '17366172677'