foo.cc: In function 'int main()':
foo.cc:7:17: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
7 | scanf("%c%c%c%c%c",&a,&b,&c,&d,&e);
| ~^ ~~
| | |
| char* int*
| %d
foo.cc:7:19: warning: format '%c' expects argument of type 'char*', but argument 3 has type 'int*' [-Wformat=]
7 | scanf("%c%c%c%c%c",&a,&b,&c,&d,&e);
| ~^ ~~
| | |
| char* int*
| %d
foo.cc:7:21: warning: format '%c' expects argument of type 'char*', but argument 4 has type 'int*' [-Wformat=]
7 | scanf("%c%c%c%c%c",&a,&b,&c,&d,&e);
| ~^ ~~
| | |
| char* int*
| %d
foo.cc:7:23: warning: format '%c' expects argument of type 'char*', but argument 5 has type 'int*' [-Wformat=]
7 | scanf("%c%c%c%c%c",&a,&b,&c,&d,&e);
| ~^ ~~
| | |
| char* int*
| %d
foo.cc:7:25: warning: format '%c' expects argument of type 'char*', but argument 6 has type 'int*' [-Wformat=]
7 | scanf("%c%c%c%c%c",&a,&b,&c,&d,&e);
| ~^ ~~
| | |
| char* int*
| %d
[Hydro](https://hydro.ac)提供评测服务