foo.cc: In function 'int main()':
foo.cc:17:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
17 | scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
| ~^ ~~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc:17:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
17 | scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
| ~^ ~~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc:17:15: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'LL*' {aka 'long long int*'} [-Wformat=]
17 | scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
| ~^ ~~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc:17:17: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'LL*' {aka 'long long int*'} [-Wformat=]
17 | scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
| ~^ ~~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务