提交记录 18864


用户 题目 状态 得分 用时 内存 语言 代码长度
hbhz_zcy test. 自定义测试 Accepted 100 166.251 ms 13596 KB C++ 309 B
提交时间 评测时间
2023-01-08 20:03:01 2023-09-03 19:42:23
//g++ test.cpp -o test -g -std=c++14 -O0 -Wall -fsanitize=undefined
#include<iostream>
#include<cstdio>
const int maxn=1e6+10,mod=1e9+7;
int ni[maxn];
int main(){
	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 OKScore: N/A

Testcase #1166.251 ms13 MB + 284 KBAcceptedScore: 100


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