Run id: 123877
Main.cc: In function 'int main()':
Main.cc:11:3: error: 'a' was not declared in this scope
a=m%10;
^
Main.cc:12:3: error: 'b' was not declared in this scope
b=m/10%10;
^
Main.cc:13:3: error: 'c' was not declared in this scope
c=m/100%10;
^
Main.cc:14:3: error: 'd' was not declared in this scope
d=m/1000%10;
^
Main.cc:7:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Main.cc:10:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^