提交记录 8852


用户 题目 状态 得分 用时 内存 语言 代码长度
Re_see 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++ 188 B
提交时间 评测时间
2019-03-17 08:43:31 2020-08-01 01:25:18
void my_memset(char *a, char c, unsigned n) {
register unsigned i = 0;
	for(; i+7 < 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';
        for(;i<n;++i)a[i]='c';
}

CompilationN/AN/ACompile ErrorScore: N/A


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