520368_0_0_2018.cpp: In function `int main()': 520368_0_0_2018.cpp:49: error: invalid initialization of reference of type 'int&' from expression of type 'double' 520368_0_0_2018.cpp:21: error: in passing argument 3 of `double dfs(int, double, int&)'