/in/foo.cc: In function 'void search(int, int, int*, bool*)':
/in/foo.cc:27:11: error: expected ';' before 'search'
29 search(x+1,sum+a[n][x]*i,ans,vis);
^~~~~~
/in/foo.cc:27:44: warning: statement has no effect [-Wunused-value]
29 search(x+1,sum+a[n][x]*i,ans,vis);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=20;++i)
^~~
/in/foo.cc:47:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=1;i<=20;++i)
^~~