Skip to content

Commit

Permalink
Solve Building Houses in python
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Nov 20, 2024
1 parent 9abade2 commit 8ba3ea7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions solutions/beecrowd/1541/1541.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import math
import sys

for line in sys.stdin:
if line.startswith('0'):
break

a, b, c = map(int, line.split())
print(f"{math.floor(math.sqrt((100 * a * b) / c))}")

0 comments on commit 8ba3ea7

Please sign in to comment.