0_0_21324529_4969.cpp: In function 'void dfs(int, int, int&&)':
0_0_21324529_4969.cpp:15:29: error: cannot bind 'int' lvalue to 'int&&'
dfs(y , x , ncnt);
^
0_0_21324529_4969.cpp:10:6: note: initializing argument 3 of 'void dfs(int, int, int&&)'
void dfs(int x , int fa , int &&ncnt) {
^
|