Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7032 - Дугуйн талбай

Тойргийн урт өгөгдөв. Энэ тойргоор хүрээлэгдсэн дугуйн талбайг ол. Жич : Томьёон дахь пи тоог ойролцоогоор 3.141592 гэж авна.

Input

Тойргийн урт бодит тоогоор өгөгдөнө.

Output

Дугуйн талбай. Таслалаас хойш 4 орны нарийвчлалтай гарга.

Example

Input:
1

Output:
0.0796

Нэмсэн:Bataa
Огноо:2013-01-15
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2018-03-01 07:53:58
#include<iostream>
#include<math.h>
using namespace std;
int main(){
double p=3.141592,r,c,a,d;
cin>>c;
d=c/2;
r=d/p;
a=(r*r)*p;
printf("%.4f",a);

}
2018-02-17 16:51:32
#include<iostream>
#include<math.h>
using namespace std;
int main(){
double a,p=3.141592,r ;

cin >> a ;
r = (a/(2*p));
cout.setf(ios::fixed);
cout.precision(4);
cout << p*(r*r) << endl ;
return 0;


}
2018-01-04 08:17:45
ene gulug chin unshigu bnshd
2016-12-23 02:54:53
#include<stdio.h>

main()

{

double s,p;

const double pi=3.141592;

scanf("%lf",&p);

s=p*p/(4*pi);

printf("%.4lf\n",s);

}
2015-03-17 08:01:43 lhagvaa
#include<stdio.h>
#include<stdlib.h>
float a,r,t,p;
int main()
{
scanf("%f",&a);
p=3.141592;
r=(a/(2*p));
t=p*(r*r);
printf("%.4f",t);
system("pause");
return 0;
}
2013-12-19 06:21:40 shikhikhutag
#include<stdio.h>

main()

{

double s,p;

const double pi=3.141592;

scanf("%lf",&p);

s=p*p/(4*pi);

printf("%.4lf\n",s);

}

Last edit: 2013-12-19 06:23:23
2013-03-21 01:49:47 javzaa
#include<stdio.h>

main()

{
freopen("a1.in","r",stdin);
freopen("a1.out","w",stdout);

float c,s;
const float pi=3.141592;

scanf("%f",&c);

s=c*c/(4*pi);

printf("%.4f\n",s);

}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.