foo.cc: In function 'int main()':
foo.cc:14:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
14 | printf("%lld", i);
| ~~~^ ~
| | |
| | int
| long long int
| %d
foo.cc:22:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
22 | printf("%lld", i);
| ~~~^ ~
| | |
| | int
| long long int
| %d
foo.cc:30:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
30 | printf("%lld", i);
| ~~~^ ~
| | |
| | int
| long long int
| %d
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
10 | scanf("%lld %lld", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务