사생활 보호 설정
https://gamjia.tistory.com
Updated News
Mini Rooms
답글수 [0]
What Friends Say
한마디로 표현해봐~
1촌평 관리
3053번 택시 기하학
GamJia 2023. 3. 31. 09:13
단계별로 풀어보기 - 기본 수학 2 - 10단계
https://www.acmicpc.net/problem/3053
#include <iostream> #include <cmath> #define PI 3.1415926535897932 using namespace std; int main() { long double R; cin>>R; cout<<fixed; cout.precision(6); cout<<powl(R,2)*PI<<endl; // 유클리드 기하학 cout<<powl(R,2)*2<<endl; // 택시 기하학 return 0; }