Advertisement
Spocoman

03. Elevator

Jan 18th, 2022
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import math
  2.  
  3. num_of_people = int(input())
  4. capacity = int(input())
  5.  
  6. print(math.ceil(num_of_people / capacity))
  7.  
  8.  
  9.  
  10. Тарикатско решение:)
  11.  
  12. import math
  13.  
  14. print(math.ceil(int(input()) / int(input())))
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement