Сonstruct a triangle with two sides and the included angle
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Construct a triangle given two sides and included angle.
Input
Contains three real numbers - the lengths of two sides of triangle and the angle between them in degrees. The lengths of the sides are positive numbers not exceeding 10^4
, the angle is a positive number 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 559
Acceptance rate 35%