Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …
Problems
#863

~/algor $ cat problems/k8Gu2LovbMtL

Area between three circles

Hidden (link only)
Medium 1000 ms 64 MB 52%
Share

Three equal circles of radius touch each other externally in pairs. Find the area of the figure left between them, bounded by three arcs. Take .

Three circles of radius R touching each other in pairs and the highlighted figure between them

Input

One positive integer .

Output

One number — the area of the figure, with exactly 2 digits after the decimal point (for example, 1.44).

Note

Examples

Input #1
2
Output #1
0.65
Input #2
10
Output #2
16.13

Sign in to submit a solution

Signing up is free and takes a minute.