/in/foo.cc: In function 'int rd()':
/in/foo.cc:10:11: error: expected primary-expression before ';' token
int x=;char c=getchar();bool f=;
^
/in/foo.cc:10:36: error: expected primary-expression before ';' token
int x=;char c=getchar();bool f=;
^
/in/foo.cc:11:36: error: expected primary-expression before ';' token
while(!isdigit(c)){if(c=='-')f=;c=getchar();}
^
/in/foo.cc:12:29: error: expected primary-expression before ')' token
while(isdigit(c)){x=(x<<)+(x<<)+(c^);c=getchar();}
^
/in/foo.cc:12:35: error: expected primary-expression before ')' token
while(isdigit(c)){x=(x<<)+(x<<)+(c^);c=getchar();}
^
/in/foo.cc:12:40: error: expected primary-expression before ')' token
while(isdigit(c)){x=(x<<)+(x<<)+(c^);c=getchar();}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:15: error: expected primary-expression before ';' token
for(int i=;i<=n;++i)k[i]=rd();
^
/in/foo.cc:26:15: error: expected primary-expression before ';' token
for(int i=;i<=m;++i){
^
/in/foo.cc:31:15: error: expected primary-expression before ';' token
for(int i=;i<=n;++i)if(!du[i])q.push(node{i});
^
/in/foo.cc:39:20: error: expected primary-expression before ';' token
for(int i=n;i>=;--i)printf("%d ",pos[i]);puts("");
^
/in/foo.cc:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=n;i>=;--i)printf("%d ",pos[i]);puts("");
^~~
/in/foo.cc:39:46: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=n;i>=;--i)printf("%d ",pos[i]);puts("");
^~~~
/in/foo.cc:40:15: error: expected primary-expression before ';' token
for(int o=;o<=n;++o){
^
/in/foo.cc:43:19: error: expected primary-expression before ';' token
for(int i=;i<=n;++i)if(!du[i]&&i!=o)q.push(node{i});
^
/in/foo.cc:44:24: error: expected primary-expression before ';' token
for(int g=n;g>=;--g){
^
/in/foo.cc:54:15: error: expected primary-expression before ';' token
for(int i=;i<=n;++i)printf("%d ",ans[i]);
^
/in/foo.cc:55:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
return ;
^~~~~~