Advertisement
GalinaKG

Untitled

Apr 23rd, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. from math import floor
  2. length_in_ms = float(input())
  3. wide_in_ms = float(input())
  4. wide_in_sms = wide_in_ms * 100
  5. length_in_sms = length_in_ms * 100
  6. desks = (wide_in_sms - 100) // 70
  7. rows = length_in_sms // 120
  8. count_seats = (desks * rows) - 3
  9.  
  10. print(floor(count_seats))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement