a,b,c=map(int,input().split()) x1=(-b+(b*b-4*a*c)**0.5)/2*a x2=(-b-(b*b-4*a*c)**0.5)/2*a if (b**2-4*a*c)**1/2 ==0: print('Two same roots x='+str(round(x2))) elif (b**2-4*a*c)**1/2>0: print('Two different roots','x1='+str(round(x1)),',','x2='+str(round(x2))) else: print('No real root')
1. 題目看清楚, "PS: 答案均為整數,若有兩個根則大者在前"
2. "x1=(-b+(b*b-4*a*c)**0.5)/2*a" != "x1=(-b+(b*b-4*a*c)**0.5)/(2*a)"