Skip to content

Instantly share code, notes, and snippets.

@imyxh
Last active January 4, 2017 00:55
Show Gist options
  • Save imyxh/37b62a51f3bd14eae5bfdb0ba869ce48 to your computer and use it in GitHub Desktop.
Save imyxh/37b62a51f3bd14eae5bfdb0ba869ce48 to your computer and use it in GitHub Desktop.
null created by imyxh - https://repl.it/FARC/1
from sys import stdin
from math import ceil, floor
f = list(map(int, stdin.readline().split(' ')))
print(ceil((f[0]-1)/floor(f[1]/f[2])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment