longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:8:24: error: expected ')' before '.' token
8 | if(are_connected({i}.{j})){
| ~ ^
| )
longesttrip.cpp:8:28: error: too few arguments to function 'bool are_connected(std::vector<int>, std::vector<int>)'
8 | if(are_connected({i}.{j})){
| ^
longesttrip.cpp:3:6: note: declared here
3 | bool are_connected(vector<int> A, vector<int> B);
| ^~~~~~~~~~~~~
longesttrip.cpp:18:3: error: 'vectoor' was not declared in this scope
18 | vectoor<int>parent(N,-1);
| ^~~~~~~
longesttrip.cpp:18:11: error: expected primary-expression before 'int'
18 | vectoor<int>parent(N,-1);
| ^~~
longesttrip.cpp:27:6: error: 'parent' was not declared in this scope
27 | parent[vecino]=nodo;
| ^~~~~~
longesttrip.cpp:37:10: error: 'parent' was not declared in this scope
37 | while(parent[best_node]!=-1){
| ^~~~~~