foo.cc: In function 'int main()':
foo.cc:6:15: warning: too many arguments for format [-Wformat-extra-args]
6 | scanf("&d,&d",a,b);
| ^~~~~~~
foo.cc:6:14: warning: 'a' is used uninitialized [-Wuninitialized]
6 | scanf("&d,&d",a,b);
| ~~~~~^~~~~~~~~~~~~
foo.cc:5:13: note: 'a' was declared here
5 | int a,b;
| ^
foo.cc:6:14: warning: 'b' is used uninitialized [-Wuninitialized]
6 | scanf("&d,&d",a,b);
| ~~~~~^~~~~~~~~~~~~
foo.cc:5:15: note: 'b' was declared here
5 | int a,b;
| ^
[Hydro](https://hydro.ac)提供评测服务