longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:25:3: error: 'vll' was not declared in this scope; did you mean 'vpl'?
25 | vll order={0};
| ^~~
| vpl
longesttrip.cpp:32:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
32 | bool r1=are_connected({s},{f1});
| ^
longesttrip.cpp:32:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:32:31: warning: narrowing conversion of 'f1' from 'long long int' to 'int' [-Wnarrowing]
32 | bool r1=are_connected({s},{f1});
| ^~
longesttrip.cpp:32:31: warning: narrowing conversion of 'f1' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:33:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
33 | bool r2=are_connected({s},{f2});
| ^
longesttrip.cpp:33:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:33:31: warning: narrowing conversion of 'f2' from 'long long int' to 'int' [-Wnarrowing]
33 | bool r2=are_connected({s},{f2});
| ^~
longesttrip.cpp:33:31: warning: narrowing conversion of 'f2' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:34:27: warning: narrowing conversion of 'f1' from 'long long int' to 'int' [-Wnarrowing]
34 | bool r3=are_connected({f1},{f2});
| ^~
longesttrip.cpp:34:27: warning: narrowing conversion of 'f1' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:34:32: warning: narrowing conversion of 'f2' from 'long long int' to 'int' [-Wnarrowing]
34 | bool r3=are_connected({f1},{f2});
| ^~
longesttrip.cpp:34:32: warning: narrowing conversion of 'f2' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:37:5: error: 'order' was not declared in this scope
37 | order.pb(f1);
| ^~~~~
longesttrip.cpp:42:5: error: 'order' was not declared in this scope
42 | order.pb(f2);
| ^~~~~
longesttrip.cpp:45:6: error: 'order' was not declared in this scope
45 | s=order.back();
| ^~~~~
longesttrip.cpp:50:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
50 | bool r1=are_connected({s},{l});
| ^
longesttrip.cpp:50:27: warning: narrowing conversion of 's' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:50:31: warning: narrowing conversion of 'l' from 'long long int' to 'int' [-Wnarrowing]
50 | bool r1=are_connected({s},{l});
| ^
longesttrip.cpp:50:31: warning: narrowing conversion of 'l' from 'long long int' to 'int' [-Wnarrowing]
longesttrip.cpp:52:5: error: 'order' was not declared in this scope
52 | order.pb(l);
| ^~~~~
longesttrip.cpp:54:10: error: 'order' was not declared in this scope
54 | return order;
| ^~~~~