foo.cc: In function 'int main()':
foo.cc:17:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
17 | scanf("%lld%lld",&f[i].first,&f[i].second);
| ~~~^ ~~~~~~~~~~~
| | |
| | int*
| long long int*
| %d
foo.cc:17:31: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'long int*' [-Wformat=]
17 | scanf("%lld%lld",&f[i].first,&f[i].second);
| ~~~^ ~~~~~~~~~~~~
| | |
| long long int* long int*
| %ld
foo.cc:20:12: warning: unused variable 'day' [-Wunused-variable]
20 | LL day=f[n-1].first;
| ^~~
[Hydro](https://hydro.ac)提供评测服务