foo.c: In function 'main':
foo.c:5:13: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
5 | scanf("%d %d");
| ~^
| |
| int *
foo.c:5:16: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
5 | scanf("%d %d");
| ~^
| |
| int *
foo.c:6:5: warning: 'a' is used uninitialized [-Wuninitialized]
6 | printf("%d",a+b);
| ^~~~~~~~~~~~~~~~
foo.c:4:9: note: 'a' was declared here
4 | int a,b;
| ^
foo.c:6:5: warning: 'b' is used uninitialized [-Wuninitialized]
6 | printf("%d",a+b);
| ^~~~~~~~~~~~~~~~
foo.c:4:11: note: 'b' was declared here
4 | int a,b;
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务