#D10354. Circle and Many Triangles
Circle and Many Triangles
Circle and Many Triangles
Input
The input is given from Standard Input in the following format:
Output
- Please output the -th triangle area.
- Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than .
Constraints
Subtasks
Subtask 1 [ points ]
Subtask 2 [ points ]
Subtask 3 [ points ]
Output
- Please output the -th triangle area.
- Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than .
Constraints
Subtasks
Subtask 1 [ points ]
Subtask 2 [ points ]
Subtask 3 [ points ]
Input
The input is given from Standard Input in the following format:
Examples
Input
4 3
Output
1.0000000000000
Input
6 9
Output
0.86602540378
Input
12 220
Output
1.29903810568
inputFormat
Input
The input is given from Standard Input in the following format:
outputFormat
Output
- Please output the -th triangle area.
- Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than .
Constraints
Subtasks
Subtask 1 [ points ]
Subtask 2 [ points ]
Subtask 3 [ points ]
Output
- Please output the -th triangle area.
- Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than .
Constraints
Subtasks
Subtask 1 [ points ]
Subtask 2 [ points ]
Subtask 3 [ points ]
Input
The input is given from Standard Input in the following format:
Examples
Input
4 3
Output
1.0000000000000
Input
6 9
Output
0.86602540378
Input
12 220
Output
1.29903810568
样例
4 3
1.0000000000000