stations.cpp: In function 'bool dfs(int, int, int)':
stations.cpp:16:24: error: too few arguments to function 'bool dfs(int, int, int)'
16 | if (dfs(u / 2, u)) return 1;
| ~~~^~~~~~~~~~
stations.cpp:12:6: note: declared here
12 | bool dfs (int u, int p, int q) {
| ^~~
stations.cpp:19:24: error: too few arguments to function 'bool dfs(int, int, int)'
19 | if (dfs(u * 2, u)) return 1;
| ~~~^~~~~~~~~~
stations.cpp:12:6: note: declared here
12 | bool dfs (int u, int p, int q) {
| ^~~
stations.cpp:22:24: error: too few arguments to function 'bool dfs(int, int, int)'
22 | if (dfs(u * 2 + 1, u)) return 1;
| ~~~^~~~~~~~~~~~~~
stations.cpp:12:6: note: declared here
12 | bool dfs (int u, int p, int q) {
| ^~~
stations.cpp: In function 'int find_next_station(int, int, std::vector<int>)':
stations.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
45 | }
| ^