We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d64d3 commit 4c75967Copy full SHA for 4c75967
tests/library_checker_aizu_tests/math/matrix_determinant.test.cpp
@@ -6,10 +6,10 @@ int main() {
6
cin.tie(0)->sync_with_stdio(0);
7
int n;
8
cin >> n;
9
- vector<vector<mint>> matrix(n, vector<mint>(n));
+ vector<vector<int>> matrix(n, vector<int>(n));
10
for (int i = 0; i < n; i++)
11
- for (int j = 0; j < n; j++) cin >> matrix[i][j].x;
+ for (int j = 0; j < n; j++) cin >> matrix[i][j];
12
auto [rank, det] = row_reduce(matrix, n);
13
- cout << det.x << '\n';
+ cout << det << '\n';
14
return 0;
15
}
0 commit comments