package main import . "fmt" import . "sort" func Hypot(a, b int) int { return a*a+b*b } func main() { var x1,y1,x2,y2,x3,y3 int Scan(&x1,&y1,&x2,&y2,&x3,&y3) d12 := Hypot(x1-x2,y1-y2) d23 := Hypot(x2-x3,y2-y3) d31 := Hypot(x3-x1,y3-y1) for y4 := -200; y4 <= 200; y4++ { for x4 := -200; x4 <= 200; x4++ { d14 := Hypot(x1-x4,y1-y4) d24 := Hypot(x2-x4,y2-y4) d34 := Hypot(x3-x4,y3-y4) s := []int{d12,d23,d31,d14,d24,d34} Ints(s) if s[0]==s[3]&&s[3]