QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#894701#7036. Can You Solve the Harder Problem?ZhaoZiLongWA 2869ms82952kbC++232.6kb2025-02-11 19:41:492025-02-11 19:41:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 15972kb

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 2869ms
memory: 82952kb

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:

17360142577
481528058210
1458100254
472695458610
483493237038
304034291917
482862811568
489592210305
481059501787
478483013820
34179394601
224708808724
490058275609
482177779292
481974101210
480027212816
341143239035
486603372805
488048642751
9731554651
486561775689
120612768062
482443192996
4673107...

result:

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