0_0_15385406_22689.cpp:6:1: error: 'LL' does not name a type
LL c[1002][1002] ,ans[1002];
^
0_0_15385406_22689.cpp: In function 'void init()':
0_0_15385406_22689.cpp:11:28: error: 'c' was not declared in this scope
for(i = 0;i <= 1001;i++) c[i][0] = 1,c[i][i] = 1;
^
0_0_15385406_22689.cpp:14:5: error: 'c' was not declared in this scope
c[i][j] = (c[i - 1][j - 1] + c[i - 1][j])%mod;
^
0_0_15385406_22689.cpp: In function 'int main()':
0_0_15385406_22689.cpp:33:12: error: 'ans' was not declared in this scope
memset(ans , 0 , sizeof(ans));
^
0_0_15385406_22689.cpp:41:23: 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;//!!!!!
^
|