postmen.cpp: In function 'll f(ll)':
postmen.cpp:27:21: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(ll i = 0; i < ve[p].size(); i++)
| ~~^~~~~~~~~~~~~~
postmen.cpp: In function 'int main()':
postmen.cpp:60:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka 'int*'} [-Wformat=]
60 | scanf("%lld%lld", &n, &m);
| ~~~^ ~~
| | |
| | ll* {aka int*}
| long long int*
| %d
postmen.cpp:60:19: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'll*' {aka 'int*'} [-Wformat=]
60 | scanf("%lld%lld", &n, &m);
| ~~~^ ~~
| | |
| | ll* {aka int*}
| long long int*
| %d
postmen.cpp:64:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka 'int*'} [-Wformat=]
64 | scanf("%lld%lld", &t1, &t2);
| ~~~^ ~~~
| | |
| | ll* {aka int*}
| long long int*
| %d
postmen.cpp:64:23: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'll*' {aka 'int*'} [-Wformat=]
64 | scanf("%lld%lld", &t1, &t2);
| ~~~^ ~~~
| | |
| | ll* {aka int*}
| long long int*
| %d
postmen.cpp:77:21: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(ll i = 1; i < ans.size(); i++)
| ~~^~~~~~~~~~~~
postmen.cpp:79:25: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(ll j = 0; j < ans[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
postmen.cpp:81:24: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wformat=]
81 | printf("%lld ", ans[i][j]);
| ~~~^
| |
| long long int
| %d
postmen.cpp:60:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
60 | scanf("%lld%lld", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
postmen.cpp:64:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
64 | scanf("%lld%lld", &t1, &t2);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~