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
2021-04-02 09:10:18
#include <stdio.h>
#include <math.h>
#define PI 3.14159265359

int main(void) {
float C, r, s;
scanf("%f", &C);
r=C/2/PI;
s=PI * r * r;
printf("%.4f", s);
return 0;
} yaachaad bga shalgagch ve bishda
2019-11-04 13:19:38
#include <iostream>
#include <cmath>

using namespace std;

int main(){
double l,p=3.141592,S,r;
cin>>l;
r=l/(2*p);
S=p*r*r;
cout.setf(ios::fixed);
cout.precision(4);
cout<<S<<endl;
return 0;
}
2019-10-25 13:18:11
#include <cstdio>
#include <cmath>
int main()
{
double a,b,c;
scanf ("%lf",&a);
c=a/(2*3.141592);
b=c*c*3.141592;
printf("%.4lf",b);
return 0;
}
2018-03-18 10:04:45
#include<stdio.h>
main()
{
double s,p;
const double pi=3.141592;
scanf("%lf",&p);
s=p*p/(4*pi);
printf("%.4lf\n",s);
}
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
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.