eolymp
bolt
Try our new interface for solving problems
Problems

Bisector

Bisector

Locate the line containing the bisector of the angle, given the vertex \textbf{X} and two points \textbf{Y} and \textbf{Z} on its side. \InputFile Six numbers - the coordinates of points \textbf{X}, \textbf{Y} and \textbf{Z}. All input data are integers not exceeding modulo \textbf{10000}. Angle greater than \textbf{0} and guaranteed less than \textbf{180} degrees. \OutputFile \includegraphics{https://static.e-olymp.com/content/1a/1ac6a4f3bed1a3b284a716e01a3aaba773b7ff02.jpg} Three numbers - coefficient of the common equation bisecting angle \textbf{YXZ}. Coefficient is derived by exactly three decimal place.
Time limit 1 second
Memory limit 64 MiB
Input example #1
1 1 1 0 0 1
Output example #1
-1.000000 1.000000 0.000000