2*(a^2+b^2+c^2)=2ab+2ac+2bc
(a^2-2ab+c^2)+(b^2-2bc+c^2)+(a^2-2ac+c^2)=0
(a-b)^2+(b-c)^2+(a-c)^2=0
即a=b=c