0_0_20801530_27023.cpp:1:1: error: 'i64' does not name a type
i64 C[N][N],f[N][N],a[N],d[N];
^
0_0_20801530_27023.cpp: In function 'void init()':
0_0_20801530_27023.cpp:8:5: error: 'C' was not declared in this scope
C[0][0]=1;
^
0_0_20801530_27023.cpp:9:15: error: 'N' was not declared in this scope
for(i=1;i<N;i++)
^
0_0_20801530_27023.cpp:12:58: error: 'mod' was not declared in this scope
for(j=1;j<i;j++) C[i][j]=(C[i-1][j-1]+C[i-1][j])%mod;
^
0_0_20801530_27023.cpp:14:5: error: 'a' was not declared in this scope
a[0]=1;
^
0_0_20801530_27023.cpp:15:15: error: 'N' was not declared in this scope
for(i=1;i<N;i++) a[i]=a[i-1]*i%mod;
^
0_0_20801530_27023.cpp:15:36: error: 'mod' was not declared in this scope
for(i=1;i<N;i++) a[i]=a[i-1]*i%mod;
^
0_0_20801530_27023.cpp: In function 'int main()':
0_0_20801530_27023.cpp:21:9: error: 'RD' was not declared in this scope
RD(T);
^
0_0_20801530_27023.cpp:26:17: error: 'FOR1' was not declared in this scope
FOR1(i,n) RD(d[i]);
^
0_0_20801530_27023.cpp:27:13: error: 'f' was not declared in this scope
clr(f,0);
^
0_0_20801530_27023.cpp:27:16: error: 'clr' was not declared in this scope
clr(f,0);
^
0_0_20801530_27023.cpp:28:14: error: 'd' was not declared in this scope
f[1][d[1]-1]=1;
^
0_0_20801530_27023.cpp:40:17: error: 'i64' was not declared in this scope
i64 temp=f[i-1][j];
^
0_0_20801530_27023.cpp:41:17: error: 'temp' was not declared in this scope
temp=temp*C[j][u]%mod;
^
0_0_20801530_27023.cpp:41:27: error: 'C' was not declared in this scope
temp=temp*C[j][u]%mod;
^
0_0_20801530_27023.cpp:41:35: error: 'mod' was not declared in this scope
temp=temp*C[j][u]%mod;
^
0_0_20801530_27023.cpp:47:9: error: 'i64' was not declared in this scope
i64 ans=f[n][0];
^
0_0_20801530_27023.cpp:48:27: error: 'ans' was not declared in this scope
for(i=1;i<=n;i++) ans=ans*a[d[i]]%mod;
^
0_0_20801530_27023.cpp:48:35: error: 'a' was not declared in this scope
for(i=1;i<=n;i++) ans=ans*a[d[i]]%mod;
^
0_0_20801530_27023.cpp:48:43: error: 'mod' was not declared in this scope
for(i=1;i<=n;i++) ans=ans*a[d[i]]%mod;
^
0_0_20801530_27023.cpp:49:41: error: 'ans' was not declared in this scope
printf("Case %d: %I64d\n",++num,ans);
^
0_0_20801530_27023.cpp:49:44: error: 'printf' was not declared in this scope
printf("Case %d: %I64d\n",++num,ans);
^
|