0_0_37963516_9446.cpp:29:11: error: redefinition of 'const int MAXN'
const int MAXN = 40 + 10, MAXA = 1 << 20;
^
0_0_37963516_9446.cpp:4:11: note: 'const int MAXN' previously defined here
const int MAXN = 40 + 10, MAXA = 1 << 20;
^
0_0_37963516_9446.cpp:29:27: error: redefinition of 'const int MAXA'
const int MAXN = 40 + 10, MAXA = 1 << 20;
^
0_0_37963516_9446.cpp:4:27: note: 'const int MAXA' previously defined here
const int MAXN = 40 + 10, MAXA = 1 << 20;
^
0_0_37963516_9446.cpp:30:5: error: redefinition of 'int n'
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:5:5: note: 'int n' previously declared here
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:30:8: error: redefinition of 'int m'
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:5:8: note: 'int m' previously declared here
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:30:17: error: redefinition of 'int a [50]'
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:5:11: note: 'int a [50]' previously declared here
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:30:33: error: redefinition of 'int dp [50][1048576]'
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:5:20: note: 'int dp [50][1048576]' previously declared here
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:30:36: error: redefinition of 'int ans'
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp:5:36: note: 'int ans' previously declared here
int n, m, a[MAXN], dp[MAXN][MAXA], ans;
^
0_0_37963516_9446.cpp: In function 'int main()':
0_0_37963516_9446.cpp:32:5: error: redefinition of 'int main()'
int main() {
^
0_0_37963516_9446.cpp:7:5: note: 'int main()' previously defined here
int main() {
^
|