Advertisement
Spocoman

05. Training Lab

Dec 8th, 2021 (edited)
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. w = float(input())
  2. h = float(input())
  3.  
  4. row = w // 1.20
  5. col = (h - 1) // 0.70
  6. seats = row * col - 3
  7.  
  8. print(seats)
  9.  
  10. Тарикатско решение:)
  11.  
  12. print(int((float(input())) // 1.2 * ((float(input()) - 1) // 0.7)) - 3)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement