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
2022-01-17 12:08:50
#include<bits/stdc++.h>
#include<math.h>
using namespace std;
int main(){
double a,s,l;
cin>>l;
a=3.141592;
s=pow(l,2)/(4*a);
cout << fixed << setprecision(4) << s;
return 0;
}
2022-01-14 15:16:53
#include<stdio.h>
#include<math.h>
#define PI 3.141592

int main()
{
double a,b,c;
scanf("%lf",&a);
b=a/(PI*2);
c=(b*b)*PI;
printf("%.4lf",c);
}
nmg sanasan uu eii haha bi bn
2021-10-25 04:39:48
#include<iostream>
using namespace std;
int main(){
long long a,s=0,t=1,m=0;
cin>>a;
s=a*10+1;
while(a>0){
a=a/10;
t=t*10;
}
t=t*10+s;
m=t*t;
cout<<m;
return 0;
}
2021-10-20 12:41:53
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
// RGB7032 - Дугуйн талбай
int main() {
double l,r,s,pi=3.141592;
cin >> l;
r=l/(2*pi);
s=pi*r*r;
cout << fixed << setprecision(4) << s;
return 0;
}
Puujee huul mni huu

Last edit: 2021-10-20 12:46:54
2021-05-25 06:34:40
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a, b, p=3.141592, S;
cin>>a;
b=a/(2*p);

S=p*(b*b);
cout<<fixed<<setprecision(4)<<S;

return 0;
}

Last edit: 2021-05-25 06:35:33
2021-04-13 07:51:50
float bish double geed oruulaad uzeerei.
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);
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.