Rosetta Problems

C.determinant

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1971