def squares(a, b):
# Write your code here
a = math.ceil(math.sqrt(a))
b = math.floor(math.sqrt(b)) + 1
return b - a
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
[HackerRank-python] Cut the sticks (0) | 2022.08.11 |
---|---|
[HackerRank-python] Library Fine (0) | 2022.08.09 |
[HackerRank-python] Append and Delete (0) | 2022.08.03 |
[HackerRank-python] Find Digits (0) | 2022.07.30 |
[HackerRank-python] Jumping on the Clouds: Revisited (0) | 2022.07.28 |