amusementpark.cpp: In function 'int main()':
amusementpark.cpp:22:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0;i<ord.size();i++){
| ~^~~~~~~~~~~
amusementpark.cpp:33:17: error: 'g' was not declared in this scope
33 | g[v[i]].pb(u[i]);
| ^
amusementpark.cpp:35:18: error: 'g' was not declared in this scope
35 | else g[u[i]].pb(v[i]);
| ^
amusementpark.cpp:40:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::set<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(x!=st.size()){
| ~^~~~~~~~~~~