提交记录 17460
提交时间 |
评测时间 |
2022-03-05 14:30:36 |
2022-03-05 14:30:39 |
#define idx(i, j) ((i) * n + (j))
double fu;
void matrix_multiply(int n, const double *A, const double *B, double *C) {
for (int i = 0; i < n; i++) {
for (int k = 0; k < n; k++) {
fu = A[idx(i,k)];
for (int j = 0; j < n; j++) {
C[idx(i, j)] += fu * B[idx(k, j)];
}
}
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 739.501 ms | 8 MB + 8 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 10:33:42 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠