#include #include double x[200], y[200]; int n; double x1,Y1,x2,y2; main(){ int i,j,k,m,mm,max = 0; for (n=0;2 == scanf("%lf%lf\n",x+n,y+n);n++){} if (n > 0) max = 1; for (i=0;i max) max = m; if (mm > max) max = mm; } } printf("%d\n",max); } centre(double a, double b, double c, double d){ double rise,run,theta; double chordlen, perplen; double tantheta,tantheta1; double r = 2.5; chordlen = hypot(a-c,b-d); if (chordlen > 2*r) { return 0; } tantheta = sqrt(r*r*4 - chordlen*chordlen)/(chordlen); /* theta = acos(chordlen*.5l/r); tantheta1 = tan(theta); printf("%lg %lg\n",tantheta1, tantheta); */ run = (a-c)/2; rise = (b-d)/2; x1= (a+c)/2 + rise * tantheta; Y1 = (b+d)/2 + -run * tantheta; x2= (a+c)/2 + -rise * tantheta; y2 = (b+d)/2 + run * tantheta; return 1; }