提交记录 18865
| 提交时间 |
评测时间 |
| 2023-01-08 20:03:29 |
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++) cout<<ni[i]<<" ";
putchar('\n');
return 0;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-15 08:41:09 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠