0_0_15444016_24804.cpp: In function 'int main()': 0_0_15444016_24804.cpp:47:53: error: 'mid' was not declared in this scope double t1 = sqrt(300 * 300 + (300 - mid) * (300 - mid)) / v1; ^