UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96191#1473. 矩阵 A×Bczpcf1006ms2564kbC++11555b2020-02-19 20:52:392020-02-19 20:52:41

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1308kb

input:

4 5
-1 4 9 8 2
-5 -1 -1 5 7
1 -2 2 1 -8
7 1 9 -7 5
3
-3 -2 3
-1 3 7
-2 -7 -3
9 -6 0
8 0 4

output:

69 -97 6
119 -16 9
-60 -28 -49
-63 -32 21

result:

ok 4 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 1280kb

input:

2 3
-1 4 9
8 2 -5
4
-1 -1 5 7
1 -2 2 1
-8 7 1 9

output:

-67 56 12 78
34 -47 39 13

result:

ok 2 lines

Test #3:

score: 20
Accepted
time: 1ms
memory: 1556kb

input:

20 30
-41 34 69 78 62 -5 -81 -61 95 27 91 -2 92 21 -18 47 71 69 -67 35 -3 -22 73 -41 53 47 -62 -37 -...

output:

9588 950 16351 11832 12585 -24694 5879 25752 -26806 29563 6860 -12570 -15932 -48127 23080 -10418 207...

result:

ok 20 lines

Test #4:

score: 20
Accepted
time: 1ms
memory: 1816kb

input:

50 30
-41 334 169 478 962 -705 -281 -961 995 827 391 -902 292 421 -718 447 771 869 -667 35 -703 -322...

output:

-1190269 -2092842 -21365 -3484590 416619 3054956 465630 1203571 -1277267 658322 2427321 -1519591 204...

result:

ok 50 lines

Test #5:

score: 20
Accepted
time: 4ms
memory: 2564kb

input:

100 100
-41 6334 9169 1478 6962 -5705 -3281 -9961 2995 4827 2391 -3902 292 7421 -9718 5447 4771 1869...

output:

-211981138 -16398196 115530805 163538692 886678072 716811055 72695181 -255363650 -209670200 -9856174...

result:

ok 100 lines