def hurdleRace(k, height):
# Write your code here
return 0 if max(height) < k else max(height) - k
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
[HackerRank-python] Utopian tree (0) | 2022.07.20 |
---|---|
[HackerRank-python] Designer PDF Viewer (0) | 2022.07.19 |
[HackerRank-python] Climbing the Leaderboard (0) | 2022.07.11 |
[HackerRank-python] Picking Numbers (0) | 2022.07.11 |
[HackerRank-python] Forming a Magic Square (0) | 2022.07.10 |