0_0_11661179_27797.cpp: In function `double solve(double)': 0_0_11661179_27797.cpp:27: error: no matching function for call to `min(int, const double&)'