a^2-2b=-2,b^2+6c=7,c^2-8a=-31
三个式子相加得
a^2-8a+b^2-2b+c^2+6c+26=0
配方得:
(a-4)^2+(b-1)^2+(c+3)^2=0
(a-4)^2=0 ,(b-1)^2=0 ,(c+3)^2=0
a-4=0, b-1=0 ,c+3=0
a=4 ,b=1 ,c=-4
a+b+c=4+1-4=4
a+b+c=1
a^2-2b=-2,
b^2+6c=7,
c^2-8a=-31,
a^2-2b+b^2+6c+c^2-8a=-2+7-31=-26
(a-4)^2+(b-1)^2+(c+3)^2=0
a=4
b=1
c=-3
a+b+c
=4+1-3
=2