dreaming.cpp: In function 'int getSize(int, int)':
dreaming.cpp:15:5: error: 'visited' was not declared in this scope
15 | visited[n] = 1;
| ^~~~~~~
dreaming.cpp:19:27: error: 'conitnue' was not declared in this scope
19 | if (x.first == p) conitnue;
| ^~~~~~~~
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 1; i < group.size(); i++) {
| ~~^~~~~~~~~~~~~~