Skip to content

Commit 8ba3ea7

Browse files
committed
Solve Building Houses in python
1 parent 9abade2 commit 8ba3ea7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

solutions/beecrowd/1541/1541.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import math
2+
import sys
3+
4+
for line in sys.stdin:
5+
if line.startswith('0'):
6+
break
7+
8+
a, b, c = map(int, line.split())
9+
print(f"{math.floor(math.sqrt((100 * a * b) / c))}")

0 commit comments

Comments
 (0)