若△ABC的三边a、b、c满足条件(a-b)(a2+b2-c2)=0,则△ABC为(  )