본문 바로가기
백준

[3053] 택시 기하학

by Jcoder 2018. 8. 12.


#include<iostream>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main()
{
double r;
cin >> r;
printf("%.6f\n%.6f\n", r*r*M_PI, r*r*2);
return 0;
}


'백준' 카테고리의 다른 글

[13241] 최소공배수  (0) 2018.08.12
[1934] 최소공배수  (0) 2018.08.12
[2490] 웇놀이  (0) 2018.08.09
[2293] 동전 1  (0) 2018.08.03
[1463] 1로 만들기  (0) 2018.08.03