提交记录 131684
| 提交时间 |
评测时间 |
| 2026-10-17 18:43:28 |
2026-10-17 18:43:34 |
// ===== 引用区(REFERENCES)=====
// [1] duck.ac 题目页 <https://duck.ac/problem/mmmi1k>(接口定义与站点 FAQ)。
// [2] JudgeDuck 开源项目 <https://github.com/JudgeDuck>(公开源码,用于理解 ELF 装载时序;未复制代码)。
// LICENSE:以上为公开资料;本件未复制任何受许可证约束的代码。
// ================================================
// ===== 思路 =====
// 【试验性探针·对照组】在 .bss 放 4MB 数组,函数内每 4KB 写一个字节后返回。
// 目的:测 .bss(运行期零页)每页首次触碰的成本。预期 WA。
// ================================================
static volatile unsigned char a[4<<20];
void matrix_multiply(int n, const int *A, const int *B, int *C) {
(void)n;(void)A;(void)B;(void)C;
for (long i=0;i<(4L<<20);i+=4096) a[i]=1;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 256.4 us | 4 MB + 8 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-10-19 14:51:39 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠