提交记录 22060


用户 题目 状态 得分 用时 内存 语言 代码长度
LEE114514 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++ 162 B
提交时间 评测时间
2024-07-30 19:52:35 2024-07-30 19:52:36
void my_memset(char *a, char c, unsigned n) {
	unsigned i=0;
	for(;i+8<n;i+=8)
		a[i]=a[i+1]=a[i+2]=a[i+3]=a[i+4]=a[i+5]=a[i+6]=a[i+7]=c;
	while(i<n) a[i++]=c;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2025-04-22 21:23:03 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠