/in/foo.cc: In function 'int main()':
/in/foo.cc:49:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(f=false) b[k]=1;
^
/in/foo.cc:52:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) cout<<b[i]<<" "; cout<<endl;
^~~
/in/foo.cc:52:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;i++) cout<<b[i]<<" "; cout<<endl;
^~~~
/in/foo.cc:10:12: warning: unused variable 'zx' [-Wunused-variable]
long long zx;
^~