foo.cc: In function 'int main()':
foo.cc:22:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'long long int' [-Wformat=]
22 | scanf("%lld %lld",a[i].st,a[i].ed);
| ~~~^ ~~~~~~~
| | |
| | long long int
| long long int*
foo.cc:22:32: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'long long int' [-Wformat=]
22 | scanf("%lld %lld",a[i].st,a[i].ed);
| ~~~^ ~~~~~~~
| | |
| long long int* long long int
foo.cc:23:55: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'long long int' [-Wformat=]
23 | for(long long i=0; i<y; i++)scanf("%lld %lld",b[i].st,b[i].ed);
| ~~~^ ~~~~~~~
| | |
| | long long int
| long long int*
foo.cc:23:60: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'long long int' [-Wformat=]
23 | for(long long i=0; i<y; i++)scanf("%lld %lld",b[i].st,b[i].ed);
| ~~~^ ~~~~~~~
| | |
| long long int* long long int
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务