#bzoj2107. Spoj2832 Find The Determinant III
Spoj2832 Find The Determinant III
Title Description
Problem code: .
Given a matrix , find the Determinant of .
Input format
The first line of every test case contains two integers , representing and . The following lines each contain integers, the j-th number in i-th line represents .
Output format
For each test case, print a single line contains the answer.
Sample
3 4
-840419217 -895520213 -303215897
537496093 181887787 -957451145
-305184545 584351123 -257712188
2
Data scale and agreement
For of the data:$0 < N < 201,0<P<100000001,-100000001<A[i][j]<1000000001$.