0_0_17246704_10532.cpp:7:21: error: expected initializer before 'cnt'
int a[20], p[20], n cnt[1 << 16];
^
0_0_17246704_10532.cpp: In function 'int main()':
0_0_17246704_10532.cpp:18:3: error: 'cnt' was not declared in this scope
cnt[i] = __builtin_popcount(i);
^
0_0_17246704_10532.cpp:21:16: error: 'n' was not declared in this scope
scanf("%d", &n);
^
0_0_17246704_10532.cpp:33:54: error: 'cnt' was not declared in this scope
if((i >> k & 1) == 0 && (p[k] == -1 || p[k] == cnt[i]))
^
|