0_0_13542897_32289.cpp: In function 'int main()': 0_0_13542897_32289.cpp:27:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(x>(n-2*i-1)/2)x1=n-2*i-1-x1; ^