看到有 dalao 是这么写的(大概):
if(a>b) swap(a,b); if(b>a*2/sqrt(3)) cout<<a*2/sqrt(3); else cout<<hypot(b,a*2-b*sqrt(3));
前面都还好理解,可是 else 后的东西是咋推出来的?
else