#include #include struct point { int x; int y; } pole[100001]; int compxy(const void *a, const void *b) { point *aa = (point *)a; point *bb = (point *)b; if(aa->x < bb->x) return -1; else if(aa->x > bb->x) return 1; else { if(aa->y < bb->y) return -1; else if(aa->y > bb->y) return 1; else return 0; } } void out(int P) { for(int i=0; iy < bb->y) return -1; else if(aa->y > bb->y) return 1; else { if(aa->x < bb->x) return -1; else if(aa->x > bb->x) return 1; else return 0; } } int main(void) { int P; int i; int L; scanf("%d", &P); while(P) { if(P == 1) { printf("The length of the fence will be 0 units.\n"); scanf("%d", &P); continue; } L = 0; for(i=0; i