roads.cpp: In function 'int main()':
roads.cpp:20:5: error: 'sor' was not declared in this scope
20 | sor(e.se);
| ^~~
roads.cpp:22:20: 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]
22 | for(int i=0;i+1<e.se.size();i++){
| ~~~^~~~~~~~~~~~
roads.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, std::vector<std::pair<long long int, long long int> > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i+1<d.size();i++){
| ~~~^~~~~~~~~