Advertisement
Merucial

Untitled

Feb 10th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. import math
  2. L = int(input())
  3. W = int(input())
  4. A = int(input())
  5.  
  6. hall_area = (L * 100) * (W * 100) # multiply x 100 to convert to sm
  7. wardrobe = (A * 100) * (A * 100)
  8. bench = hall_area / 10
  9. free_space = hall_area - wardrobe - bench
  10. dancers = free_space / (40 + 7000) # 40 space needed for single dancer , 7000 space when moving
  11. print(math.floor(dancers))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement