int main() { int i; double res; while(scanf("%d",&hull.n)!=EOF) { for(i=0;i<hull.n;i++) scanf("%lf%lf%lf", &hull.P[i].x, &hull.P[i].y, &hull.P[i].z); hull.solve(); res=hull.area(); printf("%.3lf\n",res); } return 0; }
int main() { while(1) { scanf("%d",&hull.n); if (hull.n == 0) break; for(int i=0;i<hull.n;i++) { scanf("%lf%lf%lf",&hull.P[i].x,&hull.P[i].y,&hull.P[i].z); } hull.create(); printf("%.0f\n",hull.area()); } return 0; }