Run id: 147032

Main.cc:2:1: error: 'intx' does not name a type
 intx,y;
 ^
Main.cc:3:19: error: 'intn' has not been declared
 separate(int*data,intn)
                   ^
Main.cc:3:23: error: ISO C++ forbids declaration of 'separate' with no type [-fpermissive]
 separate(int*data,intn)
                       ^
Main.cc: In function 'int separate(int*, int)':
Main.cc:5:5: error: 'inti' was not declared in this scope
     inti,j;
     ^
Main.cc:5:10: error: 'j' was not declared in this scope
     inti,j;
          ^
Main.cc:6:5: error: 'y' was not declared in this scope
     y=0;
     ^
Main.cc:7:11: error: 'n' was not declared in this scope
     while(n!=0)
           ^
Main.cc:12:9: error: 'i' was not declared in this scope
     for(i=0,j=y-1;i<=j;i++,j--)
         ^
Main.cc:15:38: error: 'x' was not declared in this scope
         printf("%d不是回文!!!\n",x);break;
                                      ^
Main.cc:18:8: error: 'i' was not declared in this scope
     if(i ==y-1) printf("是回文数");
        ^
Main.cc:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: At global scope:
Main.cc:20:10: error: ISO C++ forbids declaration of 'voidmain' with no type [-fpermissive]
 voidmain()
          ^
Main.cc: In function 'int voidmain()':
Main.cc:22:1: error: 'inta' was not declared in this scope
 inta[99];
 ^
Main.cc:24:13: error: 'x' was not declared in this scope
 scanf("%d",&x);
             ^
Main.cc:25:10: error: 'a' was not declared in this scope
 separate(a,x);
          ^
Main.cc:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^