提交记录 5370
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| zjp_shadow | 1007. 测测你的memset | Compile Error | 0 | 0 ns | 0 KB | C++11 | 212 B |
| 提交时间 | 评测时间 |
|---|---|
| 2018-08-19 18:57:10 | 2020-08-01 00:16:14 |
void my_memset(char *a, char c, unsigned n) {
n -= 4; register unsigned i = 0;
while (i < n) {
*(a + i) = c;
*(a + ++ i) = c;
*(a + ++ i) = c;
*(a + ++ i) = c;
}
n += 4;
while (i < n) a[i ++] = c;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-11 23:57:45 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠