← Back to List

8710번: Koszykarz ↗

Solutions

Python 3
86 B | 86 chars
a,b,c=map(int,input().split())
print((b-a) // c  if (b-a) % c == 0 else (b-a) // c +1)