0_0_25096235_1813.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_25096235_1813.cpp: In function 'bool check1()':
0_0_25096235_1813.cpp:16:45: error: 'sqrt' was not declared in this scope
double x1 = sqrt(300.0*300.0+mid*mid)/v1;
^
0_0_25096235_1813.cpp: In function 'bool check2()':
0_0_25096235_1813.cpp:30:45: error: 'sqrt' was not declared in this scope
double x1 = sqrt(300.0*300.0+mid*mid)/v1;
^
0_0_25096235_1813.cpp:36:57: error: 'sqrt' was not declared in this scope
double y1 = sqrt((300.0-mid)*(300.0-mid)+300.0*300.0);
^
0_0_25096235_1813.cpp: In function 'bool work()':
0_0_25096235_1813.cpp:44:21: error: 'sqrt' was not declared in this scope
if(v2 - sqrt(2.0)*v1 < -eps){
^
0_0_25096235_1813.cpp: In function 'int main()':
0_0_25096235_1813.cpp:57:36: error: 'scanf' was not declared in this scope
int T,tCase = 0; scanf("%d",&T);
^
0_0_25096235_1813.cpp:59:36: error: 'printf' was not declared in this scope
printf("Case #%d: ",++tCase);
^
|