hiring.cpp:4:13: warning: overflow in conversion from 'long long unsigned int' to 'int' changes value from '1000000000000000007' to '-1486618617' [-Woverflow]
4 | #define inf 1000000000000000007ULL
| ^~~~~~~~~~~~~~~~~~~~~~
hiring.cpp:13:38: note: in expansion of macro 'inf'
13 | uniform_int_distribution<int> dist(0,inf);
| ^~~
hiring.cpp: In function 'int main()':
hiring.cpp:57:9: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_pbds::detail::left_child_next_sibling_heap<std::pair<int, int>, std::less<std::pair<int, int> >, __gnu_pbds::null_type, std::allocator<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | if(ans<pq.size())
| ~~~^~~~~~~~~~
hiring.cpp:62:14: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_pbds::detail::left_child_next_sibling_heap<std::pair<int, int>, std::less<std::pair<int, int> >, __gnu_pbds::null_type, std::allocator<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | else if(ans==pq.size()&&sum*p[i].first.first<mn-1e-8)
| ~~~^~~~~~~~~~~
hiring.cpp:78:9: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_pbds::detail::left_child_next_sibling_heap<std::pair<int, int>, std::less<std::pair<int, int> >, __gnu_pbds::null_type, std::allocator<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | if(ans==pq.size()&&fabs(sum*p[i].first.first-mn)<1e-8)
| ~~~^~~~~~~~~~~