0_0_2646473_10806.cpp: In function `void sol(int, int)': 0_0_2646473_10806.cpp:83: error: `mid' undeclared (first use this function) 0_0_2646473_10806.cpp:83: error: (Each undeclared identifier is reported only once for each function it appears in.)