glo.cpp: In function 'int main()':
glo.cpp:28:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wformat=]
28 | printf("%d\n", wagons.size());
| ~^ ~~~~~~~~~~~~~
| | |
| int std::vector<long long int>::size_type {aka long unsigned int}
| %ld
glo.cpp:11:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d", &N);
| ~~~~~^~~~~~~~~~
glo.cpp:14:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%lld%lld", &p, &t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~