0_0_25481077_6993.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_25481077_6993.cpp:5:30: error: 'acos' was not declared in this scope
const double PI = acos( -1.0 ) ;
^
0_0_25481077_6993.cpp: In function 'int sgn(double)':
0_0_25481077_6993.cpp:8:16: error: 'fabs' was not declared in this scope
if ( fabs(x) < eps ) return 0 ;
^
0_0_25481077_6993.cpp: In member function 'void Point::input()':
0_0_25481077_6993.cpp:16:44: error: 'scanf' was not declared in this scope
void input() { scanf( "%lf%lf" ,&x ,&y ); }
^
0_0_25481077_6993.cpp: In member function 'double Point::norm()':
0_0_25481077_6993.cpp:17:50: error: 'sqrt' was not declared in this scope
double norm() { return sqrt( sqr(x) + sqr(y) ); }
^
0_0_25481077_6993.cpp: In function 'int CircleInterLine(Point, Point, Point, double, Point*)':
0_0_25481077_6993.cpp:60:38: error: 'sqrt' was not declared in this scope
double t1 = ( -B - sqrt(delta) ) / (2*A) ;
^
0_0_25481077_6993.cpp: In function 'double Triangle_area(Point, Point)':
0_0_25481077_6993.cpp:72:31: error: 'fabs' was not declared in this scope
return fabs( det( a , b ) ) / 2.0 ;
^
0_0_25481077_6993.cpp: In function 'double Sector_area(Point, Point)':
0_0_25481077_6993.cpp:76:35: error: 'atan2' was not declared in this scope
double ang = atan2( a.y , a.x ) - atan2( b.y, b.x ) ;
^
0_0_25481077_6993.cpp:79:32: error: 'min' was not declared in this scope
ang = min( ang, 2*PI - ang ) ;
^
0_0_25481077_6993.cpp: In function 'double area_CircleAndPolygon(Point*, int, Point, double)':
0_0_25481077_6993.cpp:116:22: error: 'fabs' was not declared in this scope
return fabs( res ) ;
^
0_0_25481077_6993.cpp: In function 'void init()':
0_0_25481077_6993.cpp:126:17: error: 'sqrt' was not declared in this scope
r = sqrt( r ) ;
^
0_0_25481077_6993.cpp: In function 'int main()':
0_0_25481077_6993.cpp:131:13: error: 'cin' was not declared in this scope
while ( cin >> n >> k ) {
^
0_0_25481077_6993.cpp:136:82: error: 'printf' was not declared in this scope
printf( "Case %d: %.12f\n", kase++, area_CircleAndPolygon( p, n, o, r ) ) ;
^
|