foo.c: In function 'main':
foo.c:6:14: warning: unknown conversion type character ',' in format [-Wformat=]
6 | scanf("d%,d%,d%",&a,&b,&c);
| ^
foo.c:6:17: warning: unknown conversion type character ',' in format [-Wformat=]
6 | scanf("d%,d%,d%",&a,&b,&c);
| ^
foo.c:6:19: warning: spurious trailing '%' in format [-Wformat=]
6 | scanf("d%,d%,d%",&a,&b,&c);
| ^
foo.c:6:11: warning: too many arguments for format [-Wformat-extra-args]
6 | scanf("d%,d%,d%",&a,&b,&c);
| ^~~~~~~~~~
foo.c:17:16: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
17 | printf(a,b,c);
| ^
| |
| int
In file included from foo.c:1:
/nix/store/3w4yrspgcx1z9wi18rv0hbap4jjlhx4c-glibc-2.37-8-dev/include/stdio.h:356:43: note: expected 'const char * restrict' but argument is of type 'int'
356 | extern int printf (const char *__restrict __format, ...);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务