foo.c: In function 'main':
foo.c:10:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
10 | scanf("%d",&a);
| ~^ ~~
| | |
| | long long int *
| int *
| %lld
foo.c:23:14: warning: conversion lacks type at end of format [-Wformat=]
23 | printf("%ll",a0);
| ^
foo.c:23:11: warning: too many arguments for format [-Wformat-extra-args]
23 | printf("%ll",a0);
| ^~~~~
foo.c:20:17: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
20 | a0=(a0-d)*10+d/(c/10);
| ~^~~~~~~
foo.c:13:9: note: 'd' was declared here
13 | int c,d;
| ^
foo.c:20:20: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
20 | a0=(a0-d)*10+d/(c/10);
| ~~^~~~
foo.c:13:7: note: 'c' was declared here
13 | int c,d;
| ^
[Hydro](https://hydro.ac)提供评测服务