QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#639255#7036. Can You Solve the Harder Problem?ZhaoZiLongWA 733ms62740kbC++205.3kb2024-10-13 18:34:002024-10-13 18:34:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 733ms
memory: 62740kb

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:

438311573937
464971134484
361674818252
493817684591
494129098090
222079762589
473891074449
370844299982
492339459033
358296392342
417412929440
477929541581
483575793080
493457658513
378220397971
470171012812
26016362262
487836529506
434093930955
33860670270
478378237297
298324981349
66974477
4764889...

result:

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