0_0_28483516_30169.cpp: In function 'double Area(int)':
0_0_28483516_30169.cpp:41:49: error: 'fabs' was not declared in this scope
ans += fabs(Cross(p[i]-p[0],p[i+1]-p[0]));
^
0_0_28483516_30169.cpp: In function 'int main()':
0_0_28483516_30169.cpp:47:25: error: 'stdin' was not declared in this scope
freopen("i.txt","r",stdin);
^
0_0_28483516_30169.cpp:47:30: error: 'freopen' was not declared in this scope
freopen("i.txt","r",stdin);
^
0_0_28483516_30169.cpp:49:5: error: 'cin' was not declared in this scope
cin >> t;
^
0_0_28483516_30169.cpp:55:19: error: 'sort' was not declared in this scope
sort(p,p+n);
^
0_0_28483516_30169.cpp:62:8: error: 'cout' was not declared in this scope
cout<<p[i].x << " " << p[i].y<<endl;
^
0_0_28483516_30169.cpp:62:39: error: 'endl' was not declared in this scope
cout<<p[i].x << " " << p[i].y<<endl;
^
0_0_28483516_30169.cpp:64:32: error: 'printf' was not declared in this scope
printf("%.1f\n",Area(m));
^
|