UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#109685#1179. 细菌的繁殖与扩散Baiyang07281000ms1200kbC++627b2020-06-13 14:38:132020-06-13 14:38:15

answer


详细

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 1200kb

input:

12 3

output:

0 0 0 0 0 0 0 0 0 
0 12 36 72 84 72 36 12 0 
0 36 144 288 360 288 144 36 0 
0 72 288 612 756 612 288...

result:

ok 9 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 1200kb

input:

29 3

output:

0 0 0 0 0 0 0 0 0 
0 29 87 174 203 174 87 29 0 
0 87 348 696 870 696 348 87 0 
0 174 696 1479 1827 1...

result:

ok 9 lines

Test #3:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

27 1

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 27 27 27 0 0 0 
0 0 0 27 54 27 0 0 0 ...

result:

ok 9 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

26 1

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 26 26 26 0 0 0 
0 0 0 26 52 26 0 0 0 ...

result:

ok 9 lines

Test #5:

score: 10
Accepted
time: 0ms
memory: 1200kb

input:

21 2

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 21 42 63 42 21 0 0 
0 0 42 126 168 126 42 0 0 
0 0 63 168 ...

result:

ok 9 lines

Test #6:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

5 3

output:

0 0 0 0 0 0 0 0 0 
0 5 15 30 35 30 15 5 0 
0 15 60 120 150 120 60 15 0 
0 30 120 255 315 255 120 30 ...

result:

ok 9 lines

Test #7:

score: 10
Accepted
time: 0ms
memory: 1200kb

input:

8 3

output:

0 0 0 0 0 0 0 0 0 
0 8 24 48 56 48 24 8 0 
0 24 96 192 240 192 96 24 0 
0 48 192 408 504 408 192 48 ...

result:

ok 9 lines

Test #8:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

23 1

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 23 23 23 0 0 0 
0 0 0 23 46 23 0 0 0 ...

result:

ok 9 lines

Test #9:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

7 2

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 7 14 21 14 7 0 0 
0 0 14 42 56 42 14 0 0 
0 0 21 56 84 56 ...

result:

ok 9 lines

Test #10:

score: 10
Accepted
time: 0ms
memory: 1196kb

input:

4 1

output:

0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 
0 0 0 4 4 4 0 0 0 
0 0 0 4 8 4 0 0 0 
0 0 0...

result:

ok 9 lines