0_0_28737704_21764.cpp: In function 'int main()':
0_0_28737704_21764.cpp:65:20: error: conflicting declaration 'double t1'
double t1=(sqrt(300.0*300.0+x*x)+sqrt(300.0*300+(300.0-x)*(300.0-x))+900)/v1;
^
0_0_28737704_21764.cpp:63:25: note: previous declaration as 'long double t1'
long double t1=(sqrt(300*300+x*x)+sqrt(300*300+(300-x)*(300-x))+900)/v1;
^
0_0_28737704_21764.cpp:66:20: error: conflicting declaration 'double t2'
double t2=1200.0/v2+t;
^
0_0_28737704_21764.cpp:64:25: note: previous declaration as 'long double t2'
long double t2=1200/v2+t;
^
|