UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#100737#1418. 矩阵取数游戏zsq259100756ms15652kbC++2.7kb2020-02-24 23:01:252020-02-24 23:01:26

answer


详细

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

Test #1:

score: 10
Accepted
time: 6ms
memory: 15648kb

input:

1 1
0

output:

0

result:

ok single line: '0'

Test #2:

score: 10
Accepted
time: 8ms
memory: 15648kb

input:

5 5
0 0 0 0 0
0 0 0 0 1
876 1 566 920 598
259 945 123 659 997
176 478 293 464 278

output:

118214

result:

ok single line: '118214'

Test #3:

score: 10
Accepted
time: 10ms
memory: 15648kb

input:

6 3
705 706 114
633 422 790
681 0 241
289 239 314
191 125 496
754 703 682

output:

43004

result:

ok single line: '43004'

Test #4:

score: 10
Accepted
time: 33ms
memory: 15644kb

input:

20 10
1 2 3 4 1 2 1 999 85 66
979 866 344 851 933 93 257 746 98 789
362 545 270 850 631 869 472 21 8...

output:

29351864

result:

ok single line: '29351864'

Test #5:

score: 10
Accepted
time: 42ms
memory: 15644kb

input:

30 30
838 21 136 849 882 726 509 288 845 158 775 226 546 316 69 361 96 768 490 507 231 283 315 567 5...

output:

53477486356314

result:

ok single line: '53477486356314'

Test #6:

score: 10
Accepted
time: 50ms
memory: 15652kb

input:

30 30
587 182 279 994 374 527 90 130 923 14 225 963 660 248 706 389 497 203 998 370 0 331 795 175 78...

output:

51922707299452

result:

ok single line: '51922707299452'

Test #7:

score: 10
Accepted
time: 40ms
memory: 15644kb

input:

15 60
519 642 742 238 266 424 356 440 759 962 746 86 882 882 707 274 389 269 447 499 954 139 290 159...

output:

29277091807476654864774

result:

ok single line: '29277091807476654864774'

Test #8:

score: 10
Accepted
time: 56ms
memory: 15644kb

input:

20 70
1 2 3 4 1 2 3 4 427 287 617 451 295 749 864 301 521 120 470 713 420 559 152 475 316 514 788 76...

output:

39707337144299390393036300

result:

ok single line: '39707337144299390393036300'

Test #9:

score: 10
Accepted
time: 219ms
memory: 15652kb

input:

70 75
550 698 131 889 868 408 146 983 453 203 668 53 273 835 944 343 151 672 888 562 88 822 320 314 ...

output:

4513427246035203013284194498

result:

ok single line: '4513427246035203013284194498'

Test #10:

score: 10
Accepted
time: 292ms
memory: 15644kb

input:

80 80
546 874 141 655 481 454 11 931 824 394 817 8 978 172 594 882 143 116 44 871 592 232 199 250 88...

output:

167173209388627390745779233470

result:

ok single line: '167173209388627390745779233470'