matrix_mul(int **A, int **B, int **C, int m, int p, int n) { for (int i = 0; i < m; i++) { for (int j = 0; j < p; j++) { C[i][j] = 0; for (int k = 0; k < n; k++) { C[i][j] += A[i][k] * B[k][j]; } } } }
时间:2022-07-08 16:32:09
matrix_mul(int **A, int **B, int **C, int m, int p, int n) { for (int i = 0; i < m; i++) { for (int j = 0; j < p; j++) { C[i][j] = 0; for (int k = 0; k < n; k++) { C[i][j] += A[i][k] * B[k][j]; } } } }