0_0_37709905_11643.cpp: In function 'void solve()': 0_0_37709905_11643.cpp:15:33: error: 'g' was not declared in this scope for(int j=0;j<1024;j++) f[j]|=g[j^w]<<v; ^