/in/foo.cc: In function 'int main()':
/in/foo.cc:14:30: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(6*(a*100+b*10+c)==3*(d*100+e*10+f)==2*(g*100+g*10+i))
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:15:10: error: expected primary-expression before '}' token
}
^
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]
printf("%d%d%d%d%d%d%d%d%d",a*100+b*10+c,d*100+e*10+f,g*100+g*10+i);
^
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]
/in/foo.cc:25:69: warning: format '%d' expects a matching 'int' argument [-Wformat=]