Construct a triangle 3
Easy
Execution time limit is 1 second
Runtime memory usage limit is 122.174 megabytes
Construct a triangle given two angles and the median from the third angle.
Input
Three real numbers - the length of a median and two angles in degrees. The length of the median is a positive number not exceeding 10^4
, the angles are positive numbers with sum less than 180.
Output
Print 6 real numbers - the coordinates of the vertices of any triangle corresponding to the given input data with an accuracy at least 6 decimal digits.
Examples
Input #1
Answer #1
Submissions 139
Acceptance rate 20%