eolymp
bolt
Try our new interface for solving problems
Problems

The distance from a point to direct

The distance from a point to direct

Find the distance from a given point to a given line. \InputFile Six integers - the coordinates of the point and the coordinates of two points, which is given by a straight line. The figures in the input does not exceed the modulo \textbf{10000}. \OutputFile One number - the distance from point to line up \textbf{10^\{-6\}}.
Time limit 1 second
Memory limit 64 MiB
Input example #1
1 1 0 0 2 0
Output example #1
1.000000