/in/foo.cc: In function 'int main()':
/in/foo.cc:30:6: error: 'X' was not declared in this scope
}X
^
/in/foo.cc:4:35: warning: statement has no effect [-Wunused-value]
#define fo(i,j,k) for (int i=(j);i<=(k);i++)
^
/in/foo.cc:31:2: note: in expansion of macro 'fo'
fo(i,0,n-1){ans[i*2]=a[i];ans[i*2+1]=-1;}
^~
/in/foo.cc:4:44: error: expected ';' before ')' token
#define fo(i,j,k) for (int i=(j);i<=(k);i++)
^
/in/foo.cc:31:2: note: in expansion of macro 'fo'
fo(i,0,n-1){ans[i*2]=a[i];ans[i*2+1]=-1;}
^~
/in/foo.cc:4:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define fo(i,j,k) for (int i=(j);i<=(k);i++)
^
/in/foo.cc:36:3: note: in expansion of macro 'fo'
fo(i,0,2*n-1) printf("%d ",ans[i]+1);printf("\n");
^~
/in/foo.cc:36:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fo(i,0,2*n-1) printf("%d ",ans[i]+1);printf("\n");
^~~~~~