Бодолт илгээх | Бүх бодолтууд | Шилдэг бодолтууд | Жагсаалт руу буцах |
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
|
||||||||
2024-03-13 01:39:36
Welcome to San Andreas, I'm CJ from Grove Street Land of the heinous, gang bangers and cold heat In Los Santos, neighbors get no sleep Beefing with anybody competin', even police Four deep in a green rag with gold feet Blast wit' the flag on the strap, that's OG Stay in shape, hit the gym, lift the weights Get supercut and big and buff, nice and straight You got stats: Respect, weapon skill Stamina, muscle, fat and sex appeal You get clothes from Binco, and ProLaps Suburban, Zip, Victim and D-Sachs Watch yo' back when them rival hoods They'll test just to guess if your survival's good (Survival's good) Duckin' shells at the Cluckin' Bell Jump out, bus' a gun until they tuck they tail It seems like I'm on impossible missions Twisted predicaments, hostile positions Tenpenny and Pulaski harass me Cop cars been on our ass the last past week Cause the 'Dreas's full of gangsters, homeboy Hands is the language for the bangers, homeboy And it's dangerous, homeboy Get your brains 'fore how you do yo fingers, homeboy Heat cocked, we poppin' hot ones, dump 'em out Bend the block, shake before the cops come Listen for sirens, they don't got none Back another lap, catch a straggler with the shot gun Hittin' them up, what that Grove Street like In a dirty slingshot and old Levi's |
||||||||
2024-01-16 07:14:50
#include <bits/stdc++.h> using namespace std; int main (){ double urt, s, r, pi = 3.141592 ; cin >> urt; r = urt / 2 / pi; // urt = 2 * pi * return s = pi * r * r; cout << fixed << setprecision(4) << s; return 0; } |
||||||||
2023-12-12 11:48:09
#include <bits/stdc++.h> using namespace std; int main () { double l, pi = 3.141592; cin >> l; double r = l / (2 * pi); double A = pi*(r*r); cout << fixed << setprecision(4) << A <<endl; } |
||||||||
2023-03-17 08:19:59
dev c deer bolsnoo end bolku edr tui |
||||||||
2023-03-17 08:19:05
burhan mn chi nadad bodogdood ogooch |
||||||||
2023-03-15 10:48:59
#include<iostream> #include<iomanip> using namespace std; int main() { double r,p,s; cin>>p; r=p/2/3.141592; s=r*r*3.141592; cout<<fixed<<setprecision(4)<<s; return 0; } sarangereld |
||||||||
2023-03-14 06:48:09
hhah Last edit: 2023-03-14 06:48:39 |
||||||||
2023-03-14 06:48:03
sug nass Last edit: 2023-03-14 06:48:47 |
||||||||
2023-03-13 08:48:13
#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { double circumference, radius, area; const double PI = 3.141592; cin >> circumference; radius = circumference / (2 * PI); area = PI * pow(radius, 2); cout << fixed << setprecision(4) << area << endl; return 0; } huulaarao assbeater420 |
||||||||
2023-03-13 08:48:08
#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { double circumference, radius, area; const double PI = 3.141592; cin >> circumference; radius = circumference / (2 * PI); area = PI * pow(radius, 2); cout << fixed << setprecision(4) << area << endl; return 0; } huulaarao assbeater420 |