0_0_21442939_9639\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21442939_9639\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_21442939_9639\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_21442939_9639\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_21442939_9639\Main.java:4: 错误: 非法字符: '#'
#define fi first
^
0_0_21442939_9639\Main.java:5: 错误: 非法字符: '#'
#define se second
^
0_0_21442939_9639\Main.java:6: 错误: 非法字符: '#'
#define rep(i,j,k) for(int i=(int)j;i<=(int)k;i++)
^
0_0_21442939_9639\Main.java:6: 错误: 需要class, interface或enum
#define rep(i,j,k) for(int i=(int)j;i<=(int)k;i++)
^
0_0_21442939_9639\Main.java:6: 错误: 需要class, interface或enum
#define rep(i,j,k) for(int i=(int)j;i<=(int)k;i++)
^
0_0_21442939_9639\Main.java:7: 错误: 非法字符: '#'
#define per(i,j,k) for(int i=(int)j;i>=(int)k;i--)
^
0_0_21442939_9639\Main.java:7: 错误: 需要class, interface或enum
#define per(i,j,k) for(int i=(int)j;i>=(int)k;i--)
^
0_0_21442939_9639\Main.java:7: 错误: 需要class, interface或enum
#define per(i,j,k) for(int i=(int)j;i>=(int)k;i--)
^
0_0_21442939_9639\Main.java:9: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_21442939_9639\Main.java:10: 错误: 需要class, interface或enum
const int N=1<<18;
^
0_0_21442939_9639\Main.java:11: 错误: 需要class, interface或enum
const int P=998244353;
^
0_0_21442939_9639\Main.java:12: 错误: 需要class, interface或enum
const int G=3;
^
0_0_21442939_9639\Main.java:13: 错误: 需要class, interface或enum
inline void read(int &x){
^
0_0_21442939_9639\Main.java:14: 错误: 需要class, interface或enum
x=0;char p=getchar();
^
0_0_21442939_9639\Main.java:15: 错误: 需要class, interface或enum
while(!(p<='9'&&p>='0'))p=getchar();
^
0_0_21442939_9639\Main.java:16: 错误: 需要class, interface或enum
while(p<='9'&&p>='0')x*=10,x+=p-48,p=getchar();
^
0_0_21442939_9639\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:20: 错误: 需要class, interface或enum
for(;b;b>>=1,a=a*1ll*a%P)if(b&1)c=c*1ll*a%P;
^
0_0_21442939_9639\Main.java:20: 错误: 需要class, interface或enum
for(;b;b>>=1,a=a*1ll*a%P)if(b&1)c=c*1ll*a%P;
^
0_0_21442939_9639\Main.java:20: 错误: 需要class, interface或enum
for(;b;b>>=1,a=a*1ll*a%P)if(b&1)c=c*1ll*a%P;
^
0_0_21442939_9639\Main.java:21: 错误: 需要class, interface或enum
return c;
^
0_0_21442939_9639\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:24: 错误: 需要class, interface或enum
inline void initfft(int n){
^
0_0_21442939_9639\Main.java:26: 错误: 需要class, interface或enum
int x=i;int y=0;
^
0_0_21442939_9639\Main.java:27: 错误: 需要class, interface或enum
for(int k=1;k<n;k<<=1,x>>=1)(y<<=1)|=(x&1);
^
0_0_21442939_9639\Main.java:27: 错误: 需要class, interface或enum
for(int k=1;k<n;k<<=1,x>>=1)(y<<=1)|=(x&1);
^
0_0_21442939_9639\Main.java:27: 错误: 需要class, interface或enum
for(int k=1;k<n;k<<=1,x>>=1)(y<<=1)|=(x&1);
^
0_0_21442939_9639\Main.java:28: 错误: 需要class, interface或enum
rev[i]=y;
^
0_0_21442939_9639\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:31: 错误: 需要class, interface或enum
int dv=Pow(v,P-2);
^
0_0_21442939_9639\Main.java:32: 错误: 需要class, interface或enum
w[0][0]=w[1][0]=1;
^
0_0_21442939_9639\Main.java:33: 错误: 需要class, interface或enum
rep(i,1,n-1){
^
0_0_21442939_9639\Main.java:35: 错误: 需要class, interface或enum
w[1][i]=w[1][i-1]*1ll*dv%P;
^
0_0_21442939_9639\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:39: 错误: 需要class, interface或enum
inline void init(int n){
^
0_0_21442939_9639\Main.java:40: 错误: 需要class, interface或enum
fac[0]=1;rep(i,1,n)fac[i]=fac[i-1]*1ll*i%P;
^
0_0_21442939_9639\Main.java:41: 错误: 需要class, interface或enum
inv[n]=Pow(fac[n],P-2);per(i,n-1,0)inv[i]=inv[i+1]*1ll*(i+1)%P;
^
0_0_21442939_9639\Main.java:41: 错误: 需要class, interface或enum
inv[n]=Pow(fac[n],P-2);per(i,n-1,0)inv[i]=inv[i+1]*1ll*(i+1)%P;
^
0_0_21442939_9639\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<n;i<<=1)
^
0_0_21442939_9639\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<n;i<<=1)
^
0_0_21442939_9639\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<n;i<<=1)
^
0_0_21442939_9639\Main.java:46: 错误: 需要class, interface或enum
for(int j=0,t=n/(i<<1);j<n;j+=(i<<1))
^
0_0_21442939_9639\Main.java:46: 错误: 需要class, interface或enum
for(int j=0,t=n/(i<<1);j<n;j+=(i<<1))
^
0_0_21442939_9639\Main.java:47: 错误: 需要class, interface或enum
for(int k=0,l=0;k<i;k++,l+=t){
^
0_0_21442939_9639\Main.java:47: 错误: 需要class, interface或enum
for(int k=0,l=0;k<i;k++,l+=t){
^
0_0_21442939_9639\Main.java:49: 错误: 需要class, interface或enum
int y=A[j+k];
^
0_0_21442939_9639\Main.java:50: 错误: 需要class, interface或enum
A[j+k]=(x+y)%P;
^
0_0_21442939_9639\Main.java:51: 错误: 需要class, interface或enum
A[i+j+k]=(y+P-x)%P;
^
0_0_21442939_9639\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:55: 错误: 需要class, interface或enum
rep(i,0,n-1)A[i]=A[i]*1ll*v%P;
^
0_0_21442939_9639\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:59: 错误: 需要class, interface或enum
int pw[N];
^
0_0_21442939_9639\Main.java:60: 错误: 需要class, interface或enum
int ipw[N];
^
0_0_21442939_9639\Main.java:61: 错误: 需要class, interface或enum
int A[N],B[N];
^
0_0_21442939_9639\Main.java:62: 错误: 需要class, interface或enum
void move(int *f,int bias,int *g){
^
0_0_21442939_9639\Main.java:64: 错误: 需要class, interface或enum
rep(i,0,n)g[i]=f[i];return;
^
0_0_21442939_9639\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:71: 错误: 需要class, interface或enum
pw[0]=1;rep(i,1,n)pw[i]=pw[i-1]*1ll*bias%P;
^
0_0_21442939_9639\Main.java:71: 错误: 需要class, interface或enum
pw[0]=1;rep(i,1,n)pw[i]=pw[i-1]*1ll*bias%P;
^
0_0_21442939_9639\Main.java:72: 错误: 需要class, interface或enum
ipw[0]=1;int dj=Pow(bias,P-2);
^
0_0_21442939_9639\Main.java:72: 错误: 需要class, interface或enum
ipw[0]=1;int dj=Pow(bias,P-2);
^
0_0_21442939_9639\Main.java:73: 错误: 需要class, interface或enum
rep(i,1,n)ipw[i]=ipw[i-1]*1ll*dj%P;
^
0_0_21442939_9639\Main.java:74: 错误: 需要class, interface或enum
int m=1;
^
0_0_21442939_9639\Main.java:75: 错误: 需要class, interface或enum
while(m<=2*n+2)m<<=1;
^
0_0_21442939_9639\Main.java:76: 错误: 需要class, interface或enum
rep(i,0,m-1)A[i]=B[i]=0;
^
0_0_21442939_9639\Main.java:77: 错误: 需要class, interface或enum
initfft(m);
^
0_0_21442939_9639\Main.java:78: 错误: 需要class, interface或enum
rep(i,0,n){
^
0_0_21442939_9639\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:85: 错误: 需要class, interface或enum
fft(B,m,0);
^
0_0_21442939_9639\Main.java:86: 错误: 需要class, interface或enum
rep(i,0,m-1)A[i]=A[i]*1ll*B[i]%P;
^
0_0_21442939_9639\Main.java:87: 错误: 需要class, interface或enum
fft(A,m,1);
^
0_0_21442939_9639\Main.java:88: 错误: 需要class, interface或enum
rep(i,0,n)g[i]=A[i+n]*1ll*inv[i]%P;
^
0_0_21442939_9639\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:91: 错误: 需要class, interface或enum
void Main(){
^
0_0_21442939_9639\Main.java:93: 错误: 需要class, interface或enum
read(m);
^
0_0_21442939_9639\Main.java:94: 错误: 需要class, interface或enum
bias=0;
^
0_0_21442939_9639\Main.java:95: 错误: 需要class, interface或enum
rep(i,1,m){
^
0_0_21442939_9639\Main.java:96: 错误: 需要class, interface或enum
int x;read(x);bias=(bias+x)%P;
^
0_0_21442939_9639\Main.java:96: 错误: 需要class, interface或enum
int x;read(x);bias=(bias+x)%P;
^
0_0_21442939_9639\Main.java:97: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:99: 错误: 需要class, interface或enum
rep(i,0,n)printf("%d ",ans[i]);puts("");
^
0_0_21442939_9639\Main.java:99: 错误: 需要class, interface或enum
rep(i,0,n)printf("%d ",ans[i]);puts("");
^
0_0_21442939_9639\Main.java:100: 错误: 需要class, interface或enum
}
^
0_0_21442939_9639\Main.java:103: 错误: 需要class, interface或enum
while(scanf("%d",&n)!=EOF)Main();
^
0_0_21442939_9639\Main.java:10
|