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.|

RGB7035 - Тойргийн талбай, урт

Тойргийн радиус өгөгдсөн үед тойргийн талбай ба уртыг ол.

Томьёон дахь пи тоог ойролцоогоор 3.141592 гэж авна.

Input

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

Output

Тойргийн талбай, уртыг нэг мөрөнд зайгаар тусгаарлан таслалаас хойш 1 оронгийн нарийвчлалтай хэвлэ. 

Example

Input:

4.16

Output:

54.4 26.1


Нэмсэн: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-01-16 07:35:23
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
double r, s, l, pi = 3.141592;
cin >> r;
s = pi * r * r;
l = 2 * pi * r;
cout << fixed << setprecision(1) << s << " " << l << endl;


return 0;
}

2024-01-15 10:35:07
#include <iostream>
using namespace std;
int main()
{
float a = 3.141592,b,c,s;
cin>>s;
c = s * s * a;
b = s * 2 * a;
printf("%.1f %.1f", c, b);
}
//botnuud
mn



2023-05-16 13:39:22
gomdsooon


Last edit: 2023-05-16 13:40:09
2023-03-20 18:07:06
#include <bits/stdc++.h>

using namespace std;

int main() {

double r , p = 3.141592 , sum , ans ;

cin >> r ;

ans = 2 * p * r ;

sum = p * r * r ;

cout . setf ( ios::fixed ) ;

cout . precision ( 1 ) ;

cout << sum << " " << ans << endl ;

return 0 ;

} fb : Temuk
2022-12-02 02:50:33
dAHIJ HUNTE UYERHEHGUAAAAAAA

2022-09-20 01:16:10
package uu;

import java.util.Scanner;

public class ewq {

public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan= new Scanner (System.in);
System.out.print("A=");
double nu1 = scan.nextDouble();
//
double pi=3.14,a=0,b=0;
a=(nu1*nu1)*pi;
b=(nu1*pi)*2;
System.out.printf("%.1f ",a);
System.out.printf("%.1f",b);
scan.close();


}

}
2022-09-13 14:10:24
Ekuuuu is not boy
2022-05-17 02:32:31
TEMKA IS GAY

Last edit: 2022-05-17 02:37:16
2021-11-01 03:16:03
orgil+zulsaran=hair
2021-10-11 13:07:27
#include <iostream>
using namespace std;
int main() {
double r;
double p=3.141592;
cin>>r;
double k=r*r*p;
double s=r*2*p;
printf("%.1lf %.1lf",k,s);
}
MECHA SHDEE
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.