0_0_32867089_30539.cpp:1:7: error: stray '#' in program
<code>#include <bits/stdc++.h>
^
0_0_32867089_30539.cpp:1:1: error: expected unqualified-id before '<' token
<code>#include <bits/stdc++.h>
^
0_0_32867089_30539.cpp:5:28: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_32867089_30539.cpp: In function 'int sgn(double)':
0_0_32867089_30539.cpp:8:14: error: 'fabs' was not declared in this scope
if(fabs(x) < eps) return 0;
^
0_0_32867089_30539.cpp: In member function 'void cir::output()':
0_0_32867089_30539.cpp:20:9: error: 'cout' was not declared in this scope
cout << x <<' '<< y <<' '<< r << endl;
^
0_0_32867089_30539.cpp:20:42: error: 'endl' was not declared in this scope
cout << x <<' '<< y <<' '<< r << endl;
^
0_0_32867089_30539.cpp: In function 'double dis(double, double, double, double)':
0_0_32867089_30539.cpp:24:48: error: 'sqrt' was not declared in this scope
return sqrt((ax-bx)*(ax-bx)+(ay-by)*(ay-by));
^
0_0_32867089_30539.cpp: In function 'double area_t(double, double, double)':
0_0_32867089_30539.cpp:30:15: error: 'abs' was not declared in this scope
if(abs(a-b) >= c) return 0;
^
0_0_32867089_30539.cpp:31:15: error: 'abs' was not declared in this scope
if(abs(c-b) >= b) return 0;
^
0_0_32867089_30539.cpp:32:15: error: 'abs' was not declared in this scope
if(abs(a-c) >= a) return 0;
^
0_0_32867089_30539.cpp:35:36: error: 'sqrt' was not declared in this scope
return sqrt((p-a)*(p-b)*(p-c)*p);
^
0_0_32867089_30539.cpp: In function 'void chg(cir&, cir&)':
0_0_32867089_30539.cpp:38:27: error: 'swap' was not declared in this scope
if(a.r < b.r) swap(a,b);
^
0_0_32867089_30539.cpp: In function 'double cal(cir, cir)':
0_0_32867089_30539.cpp:49:37: error: 'sqrt' was not declared in this scope
double cy = sqrt(a.r*a.r - cx*cx);
^
0_0_32867089_30539.cpp:52:33: error: 'asin' was not declared in this scope
double tha = asin(cy/a.r)*2;
^
0_0_32867089_30539.cpp:59:33: error: 'asin' was not declared in this scope
double tha = asin(cy/a.r)*2;
^
0_0_32867089_30539.cpp: In function 'int main()':
0_0_32867089_30539.cpp:69:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_32867089_30539.cpp:79:43: error: 'printf' was not declared in this scope
printf("Case #%d: %.6f\n",++CC,ans);
^
|