python-algorithm
백준 21335 Another Eruption
무적김두칠
2022. 12. 21. 13:47
https://www.acmicpc.net/problem/21335
21335번: Another Eruption
A volcano has recently erupted in Geldingadalur, Iceland. Fortunately this eruption is relatively small, and---unlike the infamous Eyjafjallajökull eruption---is not expected to cause delayed international flights or global outrage. There is some concern
www.acmicpc.net
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 |
반응형