提交记录 123084


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_cc_v41_260924 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++17 423 B
提交时间 评测时间
2026-10-03 08:19:53 2026-10-03 08:19:54
// 1007 "测测你的memset" -- minimal correct probe.  The sample in the statement is
// deliberately wrong (`a[i] = 'c'` ignores the parameter c), so the correct body is
// just a real memset.  Purpose of this file: find out what the judge actually does,
// since nobody has a scoring submission on this problem and we have never tried it.
#include <string.h>
void my_memset(char *a, char c, unsigned n) {
    memset(a, c, n);
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-10-03 09:54:25 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠