#P3659. 行列式求值Determinant of Matrix (Arbitrary Mod)

行列式求值Determinant of Matrix (Arbitrary Mod)

0 998244353
1
2 2
0 1
1 0
1
3 10
1 2 3
4 5 6
7 8 9
0