longesttrip.cpp: In function 'std::vector<int> longest_trip(int, int)':
longesttrip.cpp:24:16: warning: the address of 'bool are_connected(std::vector<int>, std::vector<int>)' will never be NULL [-Waddress]
24 | bool connect = are_connected{a,b};
| ^~~~~~~~~~~~~
longesttrip.cpp:24:29: error: expected ',' or ';' before '{' token
24 | bool connect = are_connected{a,b};
| ^
longesttrip.cpp:22:5: warning: unused variable 'a' [-Wunused-variable]
22 | int a [1] = {pnt};
| ^
longesttrip.cpp:23:5: warning: unused variable 'b' [-Wunused-variable]
23 | int b [1] = {pnt+1};
| ^