QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#82373#2887. 区间矩阵乘法QAQQWQ#WA 348ms394892kbC++14947b2023-02-27 17:32:592023-02-27 17:33:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 348ms
memory: 394892kb

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:

-105661928
55181820
2129409470
700818946
-793200651
1730563858
-395409361
-274133355
1896225959
-892153990
1636148212
106070907
1868972913
406568818
-177369370
65997073
-581660054
-1234205064
-1326104893
705700646
1131106229
-176868106
420297313
-1534737857
-176889169
-252573427
1482472642
121934485...

result:

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