Facebook
From Жанарбек, 4 Years ago, written in Python.
This paste is a reply to Re: Re: Re: Re: Untitled from Жанарбек - view diff
Embed
Download Paste or View Raw
Hits: 141
  1. from math import ceil
  2. def ulitka(a,b,h):
  3.     return ceil((h-a)/(a-b)+1)
  4.  
  5. print(ulitka(3,2,10))