/in/foo.cc: In function 'int main()':
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d%d",a,b,c);
^
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d%d",a,b,c);
^
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:18:22: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
/in/foo.cc:12:7: warning: unused variable 'ans' [-Wunused-variable]
int ans=0;
^~~