Run id: 146641

Main.cc: In function 'int main()':
Main.cc:6:8: error: 'a' was not declared in this scope
  int m=a[0]-'0';
        ^
Main.cc:7:6: error: conflicting declaration 'int n'
  int n=strlen(a);
      ^
Main.cc:4:7: note: previous declaration as 'char n [11]'
  char n[11];
       ^
Main.cc:8:10: error: 'i' was not declared in this scope
  while(n[i]!='\0'){
          ^
Main.cc:12:11: error: expected primary-expression before ';' token
  cout<