提交记录 18869


用户 题目 状态 得分 用时 内存 语言 代码长度
hbhz_zcy 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++11 256 B
提交时间 评测时间
2023-01-08 20:05:35 2023-01-08 20:05:37
#include<cstdio>
const int maxn=1e6+10,mod=1e9+7;
int ni[maxn];
void my_memset(char *a, char c, unsigned n) {
	ni[1]=1;
	for(int i=2;i<maxn;i++)  ni[i]=mod-1LL*mod/i*ni[mod%i]%mod;
	for(int i=1;i<maxn;i++)  printf("%d ",ni[i]);
	putchar('\n');
	return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


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