python-algorithm
백준 20352 Circus
무적김두칠
2022. 12. 20. 20:03
https://www.acmicpc.net/problem/20352
20352번: Circus
In the modern world, the spotlight has shifted entirely from live shows to televised recordings. Well, not entirely... One small troupe of indomitable entertainers still holds out and puts on regular circus performances. The shows are extremely popular.
www.acmicpc.net
1
2
3
4
5
6
7
8
|
def sol(n):
pi = 3.141592
r = (n/pi)**(1/2)
return 2*pi*r
if __name__ == '__main__':
n = int(input())
print(sol(n))
|
cs |
반응형