0_0_18649061_27166.cpp:7:15: error: array bound is not an integer constant before ']' token
int dp[3][maxn][maxn];
^
0_0_18649061_27166.cpp:7:21: error: array bound is not an integer constant before ']' token
int dp[3][maxn][maxn];
^
0_0_18649061_27166.cpp:9:11: error: array bound is not an integer constant before ']' token
int v[maxn];
^
0_0_18649061_27166.cpp:10:13: error: array bound is not an integer constant before ']' token
int lcm[maxn][maxn];
^
0_0_18649061_27166.cpp:10:19: error: array bound is not an integer constant before ']' token
int lcm[maxn][maxn];
^
0_0_18649061_27166.cpp: In function 'int main()':
0_0_18649061_27166.cpp:34:13: error: 'lcm' was not declared in this scope
lcm[i][j]=i*j/gcd(i,j);
^
0_0_18649061_27166.cpp:40:16: error: 'v' was not declared in this scope
v[flag++]=i;
^
0_0_18649061_27166.cpp:42:11: error: 'dp' was not declared in this scope
memset(dp,0,sizeof dp);
^
0_0_18649061_27166.cpp:44:19: error: 'v' was not declared in this scope
dp[0][v[j]][v[j]]=1;
^
0_0_18649061_27166.cpp:50:33: error: 'v' was not declared in this scope
dp[vv^1][e][v[f]]=0;
^
0_0_18649061_27166.cpp:55:20: error: 'v' was not declared in this scope
if(!dp[vv][j][v[p]])
^
0_0_18649061_27166.cpp:59:16: error: 'v' was not declared in this scope
int tt=j+v[z];
^
0_0_18649061_27166.cpp:62:24: error: 'lcm' was not declared in this scope
dp[vv^1][j+v[z]][lcm[z][v[p]]]+=dp[vv][j][v[p]];
^
|