https://www.acmicpc.net/problem/27389
27389번: Metronome
A Metronome is a mechanical device used by musicians for keeping time. It is a very clever device, based on a spring, an inverted pendulum, and an escapement gear. Milo is learning to play the glockenspiel, and has purchased a metronome to help him keep ti
www.acmicpc.net
1
2
3
4
5
6
7
8
|
def sol(n):
answer = round(n/4, 2)
return answer
if __name__ == '__main__':
n = int(input())
print(sol(n))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
leetcode 15. 3Sum (0) | 2023.02.09 |
---|---|
leetcode 42. Trapping Rain Water (0) | 2023.02.09 |
백준 27434 팩토리얼 3 (0) | 2023.02.09 |
백준 27433 팩토리얼 2 (0) | 2023.02.09 |
leetcode 5. Longest Palindromic Substring (0) | 2023.02.08 |
댓글