0_0_38554711_31984.cpp:11:1: error: expected ',' or ';' before 'double'
double r1, r2, v, hh;
^
0_0_38554711_31984.cpp: In function 'bool check(double)':
0_0_38554711_31984.cpp:14:23: error: 'r2' was not declared in this scope
double rr=1.0 * (r2-r1)*h/hh+r1;
^
0_0_38554711_31984.cpp:14:26: error: 'r1' was not declared in this scope
double rr=1.0 * (r2-r1)*h/hh+r1;
^
0_0_38554711_31984.cpp:14:32: error: 'hh' was not declared in this scope
double rr=1.0 * (r2-r1)*h/hh+r1;
^
0_0_38554711_31984.cpp:18:16: error: 'v' was not declared in this scope
if(temp >= v) return true;
^
0_0_38554711_31984.cpp: In function 'int main()':
0_0_38554711_31984.cpp:28:16: error: 'r1' was not declared in this scope
cin >> r1 >> r2 >> hh >> v;
^
0_0_38554711_31984.cpp:28:22: error: 'r2' was not declared in this scope
cin >> r1 >> r2 >> hh >> v;
^
0_0_38554711_31984.cpp:28:28: error: 'hh' was not declared in this scope
cin >> r1 >> r2 >> hh >> v;
^
0_0_38554711_31984.cpp:28:34: error: 'v' was not declared in this scope
cin >> r1 >> r2 >> hh >> v;
^
|