QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#639266#7036. Can You Solve the Harder Problem?MaMengQiWA 1432ms59680kbC++205.7kb2024-10-13 18:38:002024-10-13 18:38:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 1432ms
memory: 59680kb

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:

17377263880
484769420621
1469039857
473739194467
490764968536
305434410403
488123854116
494441224927
484272937511
482411215077
34438338505
225764586244
494494400870
492874976740
486779601551
483167680203
341192630235
492747353987
491280077388
9765154255
491745355442
120812820486
487737922489
4725166...

result:

wrong answer 600th lines differ - expected: '438311573937', found: '438308097115'