UVA13263 Determinant Fun

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=878&page=show_problem&problem=5186 [PDF](https://uva.onlinejudge.org/external/132/p13263.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13263/37414daa79201c9dafebead420a95f05871f860e.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13263/750d11f5738aa6179b79765d2a904136b3387613.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13263/3c2d2e19e017a4b143f09b75597fd1ec447de482.png)