cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:28:34: error: no matching function for call to 'std::set<std::pair<long double, int> >::emplace(<brace-enclosed initializer list>)'
28 | st.emplace({uza[i],i});
| ^
In file included from /usr/include/c++/10/set:61,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:87,
from cyberland.cpp:1:
/usr/include/c++/10/bits/stl_set.h:462:2: note: candidate: 'std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::emplace(_Args&& ...) [with _Args = {}; _Key = std::pair<long double, int>; _Compare = std::less<std::pair<long double, int> >; _Alloc = std::allocator<std::pair<long double, int> >; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<std::pair<long double, int>, std::pair<long double, int>, std::_Identity<std::pair<long double, int> >, std::less<std::pair<long double, int> >, std::allocator<std::pair<long double, int> > >::const_iterator]'
462 | emplace(_Args&&... __args)
| ^~~~~~~
/usr/include/c++/10/bits/stl_set.h:462:2: note: candidate expects 0 arguments, 1 provided
cyberland.cpp:34:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=0;i<v[node].size();i++){
| ~^~~~~~~~~~~~~~~
cyberland.cpp:50:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int i=0;i<v[j].size();i++){
| ~^~~~~~~~~~~~