Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
Area of the circle
Question:
Write a program to calculate the area of a circle.
Input: In the first line, you will get
a positive number as an indicator of radius of the circle.
Output: the area of the circle.
Note: The value of pi number is 3.14.
The formula to calculate the area of a circle is π * r2
(π=pi number, r=radius)
Sample Input1:
5
| Sample Input2:
1
|
Sample Output1:
78.5
|
Sample Output2:
3.14
|
Для отправки решений необходимо выполнить вход.
|