提交记录 8840


用户 题目 状态 得分 用时 内存 语言 代码长度
zzkkaiming 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++ 130 B
提交时间 评测时间
2019-03-15 12:30:00 2020-08-01 01:25:09
void my_memset(char *a, char c, unsigned n) {
	for(unsigned i = 0; i < n; i+=3)
		a[i]=a[i+1]=a[i+2]=c;
a[n-1]=a[n-2]=a[n-3]=c;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-06 02:23:27 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠