Main.cc: In function 'int main()':
Main.cc:5:37: warning: format '%d' expects a matching 'int*' argument [-Wformat=]
scanf("%1d%1d%1d%1d%1d",&a,&b,&c,&d);
^
Main.cc:6:8: error: 'e' was not declared in this scope
cout<