0_0_32283892_19189.cpp: In member function 'double Point::dist(Point)':
0_0_32283892_19189.cpp:14:58: error: 'sqrt' was not declared in this scope
return sqrt((x-o.x)*(x-o.x)+(y-o.y)*(y-o.y)) ;
^
0_0_32283892_19189.cpp: In member function 'void Point::read()':
0_0_32283892_19189.cpp:17:37: error: 'scanf' was not declared in this scope
scanf("%lf%lf" , &x , &y) ;
^
0_0_32283892_19189.cpp: At global scope:
0_0_32283892_19189.cpp:21:30: error: 'acos' was not declared in this scope
const double PI = acos(-1.0) ;
^
0_0_32283892_19189.cpp: In function 'int main()':
0_0_32283892_19189.cpp:28:6: error: 'cin' was not declared in this scope
cin>>t ;
^
0_0_32283892_19189.cpp:37:73: error: 'acos' was not declared in this scope
x[k++] = acos((po[j].x - po[i].x) / po[i].dist(po[j])) ;
^
0_0_32283892_19189.cpp:40:28: error: 'sort' was not declared in this scope
sort(x , x+k) ;
^
0_0_32283892_19189.cpp:49:12: error: 'cout' was not declared in this scope
cout<<sum<<endl ;
^
0_0_32283892_19189.cpp:49:23: error: 'endl' was not declared in this scope
cout<<sum<<endl ;
^
|