Bisector
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Locate the line containing the bisector of the angle, given the vertex X and two points Y and Z on its side.
Input
Six numbers - the coordinates of points X, Y and Z. All input data are integers not exceeding modulo 10000. Angle greater than 0 and guaranteed less than 180 degrees.
Output
Three numbers - coefficient of the common equation bisecting angle YXZ. Coefficient is derived by exactly three decimal place.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 11%