Discharging.cpp: In function 'int main()':
Discharging.cpp:34:22: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while(poi!=v.size()-1 && v[poi+1].first>=i-1) poi++;
| ~~~^~~~~~~~~~~~
Discharging.cpp:45:18: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, std::pair<long long int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | while(poi!=v.size()-1 && v[poi+1].first>=i-1) poi++;
| ~~~^~~~~~~~~~~~
Discharging.cpp:19:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
Discharging.cpp:23:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | scanf("%lld",&t[i]);
| ~~~~~^~~~~~~~~~~~~~