본문 바로가기

Programming [Python]/백준 알고리즘 솔루션

#122 백준 파이썬 [3053] 택시 기하학

https://www.acmicpc.net/problem/3053

 

import math

R = int(input())

print(format(math.pi * (R ** 2), '6f'))
print(format(2*(R**2), '6f'))