提交记录 27750
提交时间 |
评测时间 |
2025-01-16 11:16:59 |
2025-01-16 11:17:07 |
#include <cstring>
using namespace std;
#define idx(i, j) ((i) * n + (j))
void matrix_multiply(int n, const double *A, const double *B, double *C) {
memset(C,0,sizeof(int)*n*n);
for (int i = 0; i < n; i++) {
for (int k = 0; k < n; k++)
for (int j = 0; j < n; j++) {
C[idx(i, j)] += A[idx(i, k)] * B[idx(k, j)];
}
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 2.724 s | 8 MB + 8 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-01-18 15:38:23 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠