Run id: 157879
Main.cc:1:2: error: invalid preprocessing directive #includ
#includ
^
Main.cc: In function 'int main()':
Main.cc:6:9: error: 'string' was not declared in this scope
string s="";
^
Main.cc:7:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(i=0){
^
Main.cc:11:19: error: request for member 'begin' in 's', which is of non-class type 'int'
reverse(s.begin(),s.end())
^
Main.cc:11:29: error: request for member 'end' in 's', which is of non-class type 'int'
reverse(s.begin(),s.end())
^
Main.cc:11:34: error: 'reverse' was not declared in this scope
reverse(s.begin(),s.end())
^
Main.cc:15:9: error: 'else' without a previous 'if'
else{
^
Main.cc:16:14: warning: statement has no effect [-Wunused-value]
c+1;
^
Main.cc:18:21: error: lvalue required as left operand of assignment
if((s/10)%10=1){
^
Main.cc:19:14: warning: statement has no effect [-Wunused-value]
a+1;
^
Main.cc:22:14: warning: statement has no effect [-Wunused-value]
c+1;
^
Main.cc:24:22: error: lvalue required as left operand of assignment
if((s/100)%10=1){
^
Main.cc:25:14: warning: statement has no effect [-Wunused-value]
a+1;
^
Main.cc:28:14: warning: statement has no effect [-Wunused-value]
c+1;
^
Main.cc:31:13: error: 'cout' was not declared in this scope
cout<