hdu2552
思路:
1.tan(a+b) = ( tan(a) + tan(b) ) / (1 – tan(a) * tan(b) )
2.tan( atan(x) ) = xarctan(1/s) = arctan(1/u)+arctan(1/v)
所以得
1/s= tan( arctan(1/u)+arctan(1/v) )
= (tan(arctan(1/u)) + tan(arctan(1/v)))/(1-tan(arctan(1/u))*tan(arctan(1/v)))
= (1/u + 1/v) / (1 - 1/(uv))
所以解得 uv = 1 + us + vs