https://www.acmicpc.net/problem/21335
1
2
3
4
5
6
7
8
9
|
def sol(a):
pi = 3.141592
r = (a/pi)**(1/2)
answer = 2*pi*r
return answer
if __name__ == '__main__':
a= int(input())
print(sol(a))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 21633 Bank Transfer (0) | 2022.12.21 |
---|---|
백준 13580 Andando no tempo (0) | 2022.12.21 |
백준 20215 Cutting Corners (0) | 2022.12.21 |
백준 18409 母音を数える (Counting Vowels) (0) | 2022.12.21 |
백준 20352 Circus (0) | 2022.12.20 |
댓글