GitHub
Problem
ARC176 A - 01 Matrix Again
Grid size
N
1 ≦ N ≦ 10
Number of fire
M
0 ≦ M ≦ 4
k = 8