2006-08-18 Rope(3) PKU2365 最短コード132B hypotを一回で済ますコードで短縮されたので、私もさらに短縮することにした。 float s,a,b,c,d,x,y; main(i){ for(;a=x,b=y,~scanf("%f%f",&a,&b)*(s+=s?i?x=a,y=b,i=0:hypot(c-a,d-b):b*6.282);d=b)c=a; printf("%.2f",s); }もう、無理やりって感じ^^; これで打ち止めかなぁ・・・。