QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#638757#7036. Can You Solve the Harder Problem?ZhangYiDeWA 696ms26836kbC++172.5kb2024-10-13 16:50:222024-10-13 16:50:26

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 19988kb

input:

2
3
1 2 3
3
2 3 3

output:

14
14

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 696ms
memory: 26836kb

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 201st lines differ - expected: '438881043991', found: '438881052270'