QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79627#2887. 区间矩阵乘法QiulyWA 314ms17760kbC++141.5kb2023-02-20 17:05:322023-02-20 17:05:34

详细

Test #1:

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

input:

8
1 2 2 2 2 2 1 1
2
2 2 2
1 3 7

output:

32
2

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 314ms
memory: 17760kb

input:

200000
110569 155 159393 154631 169597 134901 75060 60085 189794 169502 10184 170809 170894 5697 83892 99814 97985 11604 39943 171446 77088 44463 60432 121559 54578 115592 151722 115322 147103 126168 55464 42044 181426 196809 58680 173065 136429 76030 109558 78475 161094 46875 1564 177386 108053 828...

output:

153147091876821528
530584239575007740
95513623751570878
308765899728386
362902468474869
792525315856813842
25866195331614767
702897884779581077
66537725440171175
317215679316152186
371639879626761204
72176912630449019
168769242821706609
998271065243506
5353813996048102
855999673787156753
53637263762...

result:

wrong answer 1st lines differ - expected: '4189305368', found: '153147091876821528'