原式=(a²+2ac+c²)/2+(b²+2bc+c²)/2-ab-ac-bc-c²
=(a²+2ac+c²+b²+2bc+c²-2ab-2ac-2bc-2c²)/2
=(a²-2ab+b²)/2
=(a-b)²/2
=(-1)²/2
=1/2