Run id: 6965

Main.cc:3:11: error: conflicting declaration 'int a'
 int a[31],a,b;
           ^
Main.cc:3:5: error: 'a' has a previous declaration as 'int a [31]'
 int a[31],a,b;
     ^
Main.cc: In function 'int main()':
Main.cc:8:17: error: lvalue required as increment operand
                a++;
                 ^
Main.cc:9:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
                if(a==10){
                      ^
Main.cc:10:21: error: incompatible types in assignment of 'int' to 'int [31]'
                    a=1;
                     ^
Main.cc:12:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
                if(a==9){
                      ^