0_0_38189524_10189.cpp:4:28: error: 'acos' was not declared in this scope
const double PI = acos(-1.0);
^
0_0_38189524_10189.cpp: In function 'int sgn(double)':
0_0_38189524_10189.cpp:7:11: error: 'fabs' was not declared in this scope
if(fabs(x) < eps)return 0;
^
0_0_38189524_10189.cpp: In member function 'void Point::input()':
0_0_38189524_10189.cpp:28:23: error: 'scanf' was not declared in this scope
scanf("%lf%lf",&x,&y);
^
0_0_38189524_10189.cpp: In function 'double dist(Point, Point)':
0_0_38189524_10189.cpp:40:25: error: 'sqrt' was not declared in this scope
return sqrt((a-b)*(a-b));
^
0_0_38189524_10189.cpp: In function 'void Graham(int)':
0_0_38189524_10189.cpp:64:22: error: 'swap' was not declared in this scope
swap(List[k],List[0]);
^
0_0_38189524_10189.cpp:65:25: error: 'sort' was not declared in this scope
sort(List+1,List+n,_cmp);
^
0_0_38189524_10189.cpp: In function 'int main()':
0_0_38189524_10189.cpp:88:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF&&n) {
^
0_0_38189524_10189.cpp:88:24: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF&&n) {
^
0_0_38189524_10189.cpp:93:19: error: 'printf' was not declared in this scope
printf("0.00\n");
^
0_0_38189524_10189.cpp:96:42: error: 'printf' was not declared in this scope
printf("%.2lf\n",dist(List[0],List[1]));
^
0_0_38189524_10189.cpp:104:23: error: 'printf' was not declared in this scope
printf("%.2lf\n",cur);
^
|