0_0_25842067_26153.cpp:3:1: error: 'LL' does not name a type
LL c[1002][1002] ,ans[1002];
^
0_0_25842067_26153.cpp: In function 'void init()':
0_0_25842067_26153.cpp:7:30: error: 'c' was not declared in this scope
for(i = 0;i <= 1001;i++) c[i][0] = 1,c[i][i] = 1;
^
0_0_25842067_26153.cpp:10:9: error: 'c' was not declared in this scope
c[i][j] = (c[i - 1][j - 1] + c[i - 1][j])%mod;
^
0_0_25842067_26153.cpp: In function 'int main()':
0_0_25842067_26153.cpp:26:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n) != EOF){
^
0_0_25842067_26153.cpp:26:29: error: 'EOF' was not declared in this scope
while(scanf("%d",&n) != EOF){
^
0_0_25842067_26153.cpp:28:37: error: 'memset' was not declared in this scope
memset(num , 0 , sizeof(num));
^
0_0_25842067_26153.cpp:29:16: error: 'ans' was not declared in this scope
memset(ans , 0 , sizeof(ans));
^
0_0_25842067_26153.cpp:37:33: error: 'c' was not declared in this scope
ans[i] += ((c[num[j]][k] * c[n - num[j]][i - k])%mod) * ((1<<j)%mod), ans[i] %= mod;//!!!!!
^
0_0_25842067_26153.cpp:40:29: error: 'printf' was not declared in this scope
printf("%lld",ans[1]);
^
0_0_25842067_26153.cpp:42:16: error: 'puts' was not declared in this scope
puts("");
^
|