cyberland.cpp:8:1: error: expected ',' or ';' before 'void'
8 | void dfs(int u,int h){
| ^~~~
cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:25:5: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
25 | dfs(0,h);
| ^~~
| ffs
cyberland.cpp:26:8: error: expected primary-expression before 'int'
26 | fo(int i=0;i<n;i++){
| ^~~
cyberland.cpp:26:16: error: 'i' was not declared in this scope
26 | fo(int i=0;i<n;i++){
| ^