TopCoder

Caido
主唱太拼命了

User's AC Ratio

86.7% (26/30)

Submission's AC Ratio

49.1% (27/55)

Tags

Description

在一個風和日麗的下午,園丁小 K 想要將他的圓形花圃用柵欄圍起來。但他只知道這個圓形花圃的半徑 $R$,聰明的你可以幫他計算繞他的花圃一圈會用到多長的柵欄嗎?

圓周率請使用 $\pi=3.1415$ 計算

Input Format

輸入只有一行,包含一個正整數 $R$(其中 $1\le R\le 10^ 7$)代表該圓形花圃的半徑。

Output Format

請輸出一個浮點數 $L$ 四捨五入至小數點以下後 $2$ 位(小數點後只顯示兩位數),代表花圃的周長。

Sample Input 1

2

Sample Output 1

12.57

Sample Input 2

7

Sample Output 2

43.98

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~13 無額外限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 524288 65536 1 2
1 1000 524288 65536 1 2
2 1000 524288 65536 2
3 1000 524288 65536 2
4 1000 524288 65536 2
5 1000 524288 65536 2
6 1000 524288 65536 2
7 1000 524288 65536 2
8 1000 524288 65536 2
9 1000 524288 65536 2
10 1000 524288 65536 2
11 1000 524288 65536 2
12 1000 524288 65536 2
13 1000 524288 65536 2