Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

Triangle

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 747    Accepted Submission(s): 181


Problem Description
It is quite a simple question, give you three vertex A, B, C of a triangle, you just output the smallest radian of the three angles in the triangle.
 

Input
There will be multiple test cases. In each case there will be six integers xa, ya, xb, yb, xc, yc, indicating the x coordinate , y coordinate of each vertex.You can assume the vertexs are not in a line.
 

Output
For each test case output the answer with exactly six digits after the decimal point.
 

Sample Input
0 0 3 0 0 4
 

Sample Output
0.643501
 

Statistic | Submit | Clarifications | Back