0_0_36676729_28237.cpp:4:9: error: array bound is not an integer constant before ']' token
int dp[N];
^
0_0_36676729_28237.cpp:7:10: error: array bound is not an integer constant before ']' token
int cnt[N];
^
0_0_36676729_28237.cpp: In function 'int main()':
0_0_36676729_28237.cpp:17:9: error: 'cnt' was not declared in this scope
cnt[i] = __builtin_popcount(i);
^
0_0_36676729_28237.cpp:24:9: error: 'dp' was not declared in this scope
dp[0] = 1;
^
0_0_36676729_28237.cpp:52:21: error: 'cnt' was not declared in this scope
ans[cnt[j]] = (ans[cnt[j]] + dp[j]) % mod;
^
|