eolymp
Competitions

Introduction Contest

Angles of triangle

The triangle is given. Find the value of its biggest angle.

Input

The coordinates of triangle vertices are given. The coordinates of a vertex is a pair of integers not greater than 104 by absolute value.

Output

Print the value of its biggest angle in degrees with 6 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
0 0
3 0
0 4
Output example #1
90.000000
Input example #4
-1 1
-10000 -10000
10000 10000
Output example #4
179.988541