SHARE
TWEET

Untitled

a guest Oct 18th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2)
  2. x,y,n,i = int(input('x')),int(input('y')),int(input('n')),0
  3. some = n*min(x,y)
  4. z = some
  5. while some//x+some//y>=n:
  6.     i+=1
  7.     some-=1
  8. print(z-i+1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top