QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112584#5500. BarsSparkle_ZHWA 230ms3992kbC++141.5kb2023-06-12 13:58:512023-06-12 13:58:52

詳細信息

Test #1:

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

input:

2
4
5 2 2 6
5
1 5 4 4 1

output:

33
29

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 230ms
memory: 3992kb

input:

10000
4
5 2 2 6
5
1 5 4 4 1
197
763787596 15221694 898228999 187472305 466351873 822742732 437754202 800092772 843092246 915675776 166265020 346340615 796714085 497548541 182089610 64356048 363276768 181268733 257949015 236568898 752096761 928725929 443146784 114577469 833053207 38120723 14891030 41...

output:

33
29
381268324603
661441328080
546841323654
458946673513
296420749955
874819701323
632716482449
584888108745
225238172734
716027782821
466644027129
283438270642
585094154153
201537244906
336548832140
483213442818
604125593314
586771956643
408018096564
826785029425
975377092201
923726716973
26408806...

result:

wrong answer 3rd lines differ - expected: '382465638565', found: '381268324603'