Run id: 119279

Main.cc: In function 'int main()':
Main.cc:10:10: error: 'm' was not declared in this scope
     cin>>m;
          ^
Main.cc:11:5: error: 'g' was not declared in this scope
     g = m % 10;
     ^
Main.cc:12:5: error: 's' was not declared in this scope
     s = m / 10 % 10;
     ^
Main.cc:13:5: error: 'b' was not declared in this scope
     b = m / 100 % 10;
     ^
Main.cc:14:5: error: 'q' was not declared in this scope
     q = m / 1000;
     ^
Main.cc:16:9: error: 'num' was not declared in this scope
         num+-1;
         ^