You are given nonnegative integers a and b (a ≤ b), and a positive integer x.
Among the integers between a and b, inclusive, how many are divisible by x?

-----Constraints-----
 - 0 ≤ a ≤ b ≤ 10^{18}
 - 1 ≤ x ≤ 10^{18}

-----Input-----
The input is given from Standard Input in the following format:
a b x

-----Output-----
Print the number of the integers between a and b, inclusive, that are divisible by x.

-----Sample Input-----
4 8 2

-----Sample Output-----
3

There are three integers between 4 and 8, inclusive, that are divisible by 2: 4, 6 and 8.
[{"code": "a,b,x=list(map(int,input().split()))\nprint((b//x-(a-1)//x))\n", "passed": true, "time": 0.65, "memory": 14220.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\ndef divided_num(n):\n    return n//x + 1\n\nprint(divided_num(b)-divided_num(a)+(1 if a%x==0 else 0))", "passed": true, "time": 0.15, "memory": 14204.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nans = b // x - (a - 1) // x\nprint(ans)", "passed": true, "time": 0.15, "memory": 14260.0, "status": "done"}, {"code": "def generator(x, a): # x\u306e\u500d\u6570\u3067a\u3088\u308a\u5927\u304d\u3044\u3082\u306e\u306e\u3046\u3061\u306e\u6700\u5c0f\u5024\n    if x >= a:\n        y = x\n    else:\n        tmp = a // x + 1\n        if a % x == 0:\n            tmp -= 1\n        y = x * tmp\n\n    return y\n\n\ndef main():\n    a, b, x = map(int, input().split())\n    minimum = generator(x, a)\n\n    if minimum > b:\n        count = 0\n    else:\n        count = (b - minimum) // x + 1\n\n    if a == 0:\n        count += 1\n\n    print(count)\n\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.34, "memory": 14300.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\nprint((b // x - (a - 1) // x))\n", "passed": true, "time": 0.25, "memory": 14164.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nA = a + ((x - (a % x)) % x)\nB = b - (b % x)\nprint((B - A) // x + 1 if B >= A else 0)", "passed": true, "time": 0.21, "memory": 14116.0, "status": "done"}, {"code": "a, b, x = map(int, input().split(' '))\nanswer = b//x - (a-1)//x\nprint(answer)", "passed": true, "time": 0.35, "memory": 14104.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nif  a % x == 0:\n        print(b // x - a // x + 1)\nelse:\n        print(b // x - a // x)", "passed": true, "time": 0.63, "memory": 14080.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nc = b - a + a % x\nif a % x != 0:\n    print(c // x)\nelse:\n    print(c // x + 1)", "passed": true, "time": 0.27, "memory": 14084.0, "status": "done"}, {"code": "a, b, c = map(int,input().split())\nif a % c == 0:\n    print((b // c) - (a // c) + 1)\nelse:\n    print((b // c) - (a // c))", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "def __starting_point():\n    # n = int(input())\n    a, b, x = list(map(int, input().split()))\n    c = b//x - a//x\n    if a%x == 0:\n        c = c+1\n    print(c)\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "def main():\n    a,b,x = list(map(int,input().split()))\n    print((b//x-(a-1)//x))\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "a,b,x = map(int, input().split())\nprint(b//x - (a-1)//x)", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "a, b, x = [int(x) for x in input().split()]\n\n\nb_num = b // x\na_num = (a - 1) // x if a - 1 >= 0 else -1\nprint((b_num - a_num))\n", "passed": true, "time": 0.25, "memory": 14196.0, "status": "done"}, {"code": "# ABC048\na, b, x = list(map(int, input().split()))\n\nprint((b//x - a//x + (a % x == 0)))\n", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "# -*- coding: utf-8 -*-\n\na,b,x = map(int, input().split())\n\nans = (b // x) - ((a-1) // x) \nif ans < 0:\n    ans = 0\n\nprint(ans)", "passed": true, "time": 0.15, "memory": 14116.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nif a != 0:\n    print((b // x) - (a - 1) // x)\nelse:\n    print(b // x + 1)", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "a,b,x = map(int, input().split())\nans = b//x - (a-1)//x\nprint(ans)", "passed": true, "time": 0.15, "memory": 14232.0, "status": "done"}, {"code": "import sys\ninput = sys.stdin.readline\nenum = enumerate\ninf = 1001001001\n\nimport collections\nimport random\n\ndef linput(ty=int, cvt=list):\n\treturn cvt(list(map(ty,input().split())))\n\ndef vinput(rep=1, ty=int, cvt=list):\n\treturn cvt(ty(input().rstrip()) for _ in \"*\"*rep)\n\ndef gcd(a: int, b: int):\n\twhile b: a, b = b, a%b\n\treturn a\n\ndef lcm(a: int, b: int):\n\treturn a * b // gcd(a, b)\n\ndef dist(x1,y1,x2,y2):\n\treturn abs(x1-x2)+abs(y1-y2)\n\n#vD = [chr(ord(\"a\")+i) for i in range(26)]\n\ndef ran():\n\tvRan = [random.randint(1, 10),\n\t        random.randint(0, 10),\n\t        random.randint(1, 100)]\n\treturn vRan\n\ndef bye(res):\n\tsT = \"No Yes\".split()\n\tprint((sT[res]))\n\t#return\n\ndef sol_n(a,b,c):\n\tres = 0\n\tcnt = 0\n\twhile cnt<c:\n\t\tres += 1\n\t\tcnt += a\n\t\tif res%7==0:\n\t\t\tcnt += b\n\treturn res\n\n\ndef sol(a,b,c):\n\t#a,b,c = linput()\n\t### 3 6 9 12 15\n\t### 1 2 3 4  5\n\t\n\tres = 0\n\tL = -(-a//c)\n\tR = (b//c)\n\tres = R-L+1\n\t\n\treturn res\n\ndef deb():\n\t#vI = linput()\n\tvI = ran()\n\t#print(vI)\n\tI = sol_n(*vI)\n\tJ = sol(*vI)\n\tif 1:#I!=J:\n\t\tprint((vI, I, J))\n\ndef main():\n\tvI = linput()\n\tprint((sol(*vI)))\n\ndef __starting_point():\n\t#for _ in \"*\"*1000:\n\t#\tdeb()\n\tmain()\n\n__starting_point()", "passed": true, "time": 0.15, "memory": 14236.0, "status": "done"}, {"code": "a,b,x = list(map(int, input().split()))\n\n#\u6700\u5c0f\u5024\nif(a%x != 0):\n    min_div = a + x -  (a % x)\n\nelse:\n    min_div = a\n\n#\u6700\u5927\u5024\nif(b%x != 0):\n    max_div = b - (b % x)\n\nelse:\n    max_div = b\n\nprint((int(max((max_div - min_div + x) // x, 0))))\n", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nprint(b//x-(a+x-1)//x+1)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a,b,x = map(int, input().split())\nprint(b//x - (a+x-1)//x + 1)", "passed": true, "time": 0.26, "memory": 14228.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nprint((b//x)-(a-1)//x)", "passed": true, "time": 0.14, "memory": 14372.0, "status": "done"}, {"code": "def answer(a: int, b: int, x: int) -> int:\n    return b // x - (a - 1) // x\n\n\ndef main():\n    a, b, x = map(int, input().split())\n    print(answer(a, b, x))\n\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\nprint((b // x - (a + x - 1) // x + 1))\n", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nif a == 0:\n  print(b // c+1)\n  return\nprint(b // c - (a-1) // c)", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\n\nif a % x == 0:\n  print((b//x)-(a//x)+1)\nelse:\n  print((b//x)-(a//x))", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nprint((b//x)-((a-1)//x))", "passed": true, "time": 0.14, "memory": 14340.0, "status": "done"}, {"code": "a, b, x = map(int,input().split())\n\nif a == 0:\n    ans = b // x + 1\nelse:\n    ans = b // x - (a-1) // x\nprint(ans)", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nst = -(-a//x)\ned = b//x\nprint(ed-st+1)", "passed": true, "time": 0.16, "memory": 14136.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\nres = b // x - (a + x - 1) // x + 1\nprint(res)\n", "passed": true, "time": 0.17, "memory": 14328.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\na_x = a // x\nb_x = b // x\nif a % x == 0:\n    print((b_x - a_x + 1))\nelse:\n    print((b_x - a_x))\n", "passed": true, "time": 0.17, "memory": 14296.0, "status": "done"}, {"code": "def LI():\n    return list(map(int, input().split()))\n\n\na, b, x = LI()\nans = b//x-(a-1)//x\nprint(ans)\n", "passed": true, "time": 0.15, "memory": 14152.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nprint(b//x-(a-1)//x)", "passed": true, "time": 0.15, "memory": 14120.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nif a != 0:\n    print(b // x - (a - 1) // x)\nelse:\n    print(b // x + 1)", "passed": true, "time": 0.35, "memory": 14092.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nans = b//x -(a-1) //x\nprint(ans)", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nans = (b-a)//x\n\nif (x-a % x) % x+(b % x) < x:\n    ans += 1\n\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nprint(b//x - (a-1)//x)", "passed": true, "time": 0.15, "memory": 14140.0, "status": "done"}, {"code": "a, b, c = map(int, input().split())\nprint(b // c - (a - 1) // c)", "passed": true, "time": 0.15, "memory": 14232.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\ncount = 0\nstart = 0\nfor i in range(x, 10**18+x+1, x):\n    if a<=i:\n        start = count\n        break\n    count += 1\nif a==0:\n    start = -1\nprint(b//x - start)", "passed": true, "time": 0.15, "memory": 14060.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\nif a % x == 0:\n    print(((b // x) - (a // x) + 1))\nelse:\n    print(((b // x) - (a // x)))\n", "passed": true, "time": 0.15, "memory": 14172.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nans = b//x - a//x + (a%x==0)\nprint(ans)", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "import math\na,b,x = map(int, input().split())\n\na_c = a//x if a%x == 0 else a//x + 1\nb_f = b//x\nprint(b_f-a_c+1)", "passed": true, "time": 0.18, "memory": 14356.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\n\ndef get(n):\n    if n<0:\n        return 0\n    else:\n        return n//x + 1\nprint(get(b)-get(a-1))", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "a, b, x = tuple([int(x) for x in input().split(\" \")])\nif a % x == 0:\n    print((b // x - a // x + 1))\nelse:\n    print((b // x - a // x))\n", "passed": true, "time": 0.16, "memory": 14164.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nbb = b // x\naa = (a - 1) // x\n\nprint((bb - aa))\n", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nprint(b // x - (a - 1) // x)", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nans = b//x -(a-1) //x\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nprint(b//x+(-a//x)+1)", "passed": true, "time": 0.15, "memory": 14280.0, "status": "done"}, {"code": "a,b,k = [int(x) for x in input().split()]\nres = b // k\nres -= (a-1) // k\nprint(res)", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nif a % x == 0:\n    print(b // x - a // x + 1)\nelse:\n\tprint(b // x - a // x)", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nprint(b//x - (a-1)//x)", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "lst = input().split()\n\na = int(lst[0])\nb = int(lst[1])\nx = int(lst[2])\n\nif a % x != 0:\n   a = x * ((a // x) + 1)\n\nif b % x != 0:\n   b = x * (b // x)\n\nprint(((b - a) // x) + 1)", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\n\nprint((b//x)-((a-1)//x))", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "a,b,x=list(map(int,input().split()))\nans = 0\nif a % x == 0:\n  ans += 1\nb //= x\na //= x\nans += b - a\nprint(ans)\n", "passed": true, "time": 0.64, "memory": 14240.0, "status": "done"}, {"code": "a,b,x = list(map(int,input().split()))\n\nif  a%x == 0 :\n    print((b//x - a//x + 1))\nelif a%x is not 0 :\n    print((b//x - a//x))\n\n\n\n", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nbb=b//x\naa=a//x\nans=bb-aa\nif a%x==0:\n  ans+=1\nprint(ans)", "passed": true, "time": 0.23, "memory": 14084.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nprint((b//x)-((a-1)//x))", "passed": true, "time": 0.15, "memory": 14336.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nprint(b//x - (a-1)//x)", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\ndef cntr(n,x):\n    if n>=0:\n        return n//x+1\n    else:\n        return 0\nprint(cntr(b,x)-cntr(a-1,x) if a!=0 else cntr(b,x)-cntr(-1,x))", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "a,b,x = map(int, input().split())\n\na_div=0\nb_div = b//x\nif a!=0:\n    a_div = (a-1)//x\n    count = b_div-a_div\nelse:\n    count = b_div-a_div+1\nprint(count)", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nif a != 0:\n    print(b // x - (a - 1) // x)\nelse:\n    print(b // x + 1)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "import math\nimport sys\nimport os\nfrom operator import mul\n\nsys.setrecursionlimit(10**7)\n\ndef _S(): return sys.stdin.readline().rstrip()\ndef I(): return int(_S())\ndef LS(): return list(_S().split())\ndef LI(): return list(map(int,LS()))\n\nif os.getenv(\"LOCAL\"):\n    inputFile = basename_without_ext = os.path.splitext(os.path.basename(__file__))[0]+'.txt'\n    sys.stdin = open(inputFile, \"r\")\nINF = float(\"inf\")\n\na,b,x = LI()\n\nans = 0\nif a > 0:\n    a -= 1\nelse:\n    ans += 1\nans += b//x - a//x\n\nprint(ans)", "passed": true, "time": 0.16, "memory": 14328.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nprint(b // x - (a - 1) // x)", "passed": true, "time": 0.15, "memory": 14232.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\n\ncnt = b // x - (a - 1) // x\n\nprint(cnt)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nb=b//x\na=(a+x-1)//x\nprint(b-a+1)", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nprint(b//x-(a-1)//x)", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nprint(b//x-(a-1)//x)", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\n\ncnt = 0\nif a % x == 0:\n  cnt += 1\n\n#if b % x == 0:\n#  cnt += 1\n  \ncnt += (b//x - a//x)\n\nprint(cnt)", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "import re\nimport copy\n\ndef accept_input():\n    a,b,x = list(map(int,input().split()))\n    return a,b,x\n\na,b,x = accept_input()\nprint((b // x - (a - 1) // x))\n\"\"\"\nif a%x == 0 and a != b:\n    print(b//x - a//x +1)\nelif a%x == 0 and a == b:\n    print(0)\nelse:\n    print(b//x - a//x)\n\"\"\" \n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nans = b//x - a//x\nif a%x == 0:\n    print(ans+1)\nelse:\n    print(ans)", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "a,b,x = list(map(int,input().split()))\n\nprint((b//x-(a-1)//x))\n", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\n\nres1=(a-1)//x\nres2=b//x\nans=res2-res1\nprint(ans)", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\nprint(b // x - (a - 1) // x)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\nprint((b // x - (a - 1) // x))\n", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nans = (b//x+1) - (a//x+1)\nif a % x == 0:\n  ans += 1\n\nprint(ans)", "passed": true, "time": 0.22, "memory": 14084.0, "status": "done"}, {"code": "import math\nimport collections\nfrom itertools import product\n\nii = lambda : int(input())\nmi = lambda : map(int,input().split())\nli = lambda : list(map(int,input().split()))\n\na,b,x = mi()\n\nif a%x != 0:\n    A = x*(a//x + 1)\nelse:\n    A = a\nB = b - b%x\nprint((B-A)//x+1)", "passed": true, "time": 0.14, "memory": 14144.0, "status": "done"}, {"code": "import math\nfrom math import gcd,pi,sqrt\nINF = float(\"inf\")\n\nimport sys\nsys.setrecursionlimit(10**6)\nimport itertools\nfrom collections import Counter,deque\ndef i_input(): return int(input())\ndef i_map(): return list(map(int, input().split()))\ndef i_list(): return list(i_map())\ndef i_row(N): return [i_input() for _ in range(N)]\ndef i_row_list(N): return [i_list() for _ in range(N)]\ndef s_input(): return input()\ndef s_map(): return input().split()\ndef s_list(): return list(s_map())\ndef s_row(N): return [s_input for _ in range(N)]\ndef s_row_str(N): return [s_list() for _ in range(N)]\ndef s_row_list(N): return [list(s_input()) for _ in range(N)]\n\nimport string\n\ndef main():\n    a,b,x = i_map()\n    print((b//x - (a-1)//x))\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.82, "memory": 14340.0, "status": "done"}, {"code": "a, b, x = [int(x) for x in input().split()]\nprint((b//x)-((a-1)//x))", "passed": true, "time": 0.26, "memory": 14312.0, "status": "done"}, {"code": "a, b ,x = map(int, input().split())\nans = 0\nn_a = a//x\nn_b = b//x\nif a%x == 0:\n    ans+=1\nans += n_b - n_a\nprint(ans)", "passed": true, "time": 0.45, "memory": 14216.0, "status": "done"}, {"code": "import sys\ninput=sys.stdin.read\na,b,x=map(int,input().split())\nprint((b//x)-(a//x) if a%x!=0 else (b//x)-(a//x)+1)", "passed": true, "time": 0.18, "memory": 14076.0, "status": "done"}, {"code": "a,b,x = map(int, input().split())\n\nans = b//x - (a-1)//x\n\nprint(ans)", "passed": true, "time": 0.17, "memory": 14136.0, "status": "done"}, {"code": "import sys, math\nfrom itertools import combinations as c, product as p\nfrom collections import deque\nsys.setrecursionlimit(10**9)\n\n\ndef si(): return input()\ndef ii(): return int(input())\ndef fi(): return float(input())\ndef lstr(): return input().split()\ndef lint(): return list(map(int, input().split()))\ndef lint_dec(): return list([int(x) - 1 for x in input().split()])\ndef lnstr(n): return [input() for _ in range(n)]\ndef lnint(n): return [int(input()) for _ in range(n)]\ndef lint_list(n): return [lint() for _ in range(n)]\n\n\n\n############################################################\na, b, x = lint()\nprint((b // x - (a - 1) // x))\n", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "import sys\n\ninput = sys.stdin.readline\n\na,b,x= map(int, input().split())\n\na_count = (a-1) // x\n\n\nb_count = b // x\nprint(b_count - a_count)", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nl = a//x + 1\nif a % x == 0:\n  l -= 1\n\nr = b//x\n\nprint((r - l) + 1)", "passed": true, "time": 0.16, "memory": 14080.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nar = a % x\nn = b - a + 1\nif ar != 0:\n    n -= x - ar\n\nans = n // x\nif n % x >= 1:\n    ans += 1\n\nprint(ans)", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nans=b//x - (a-1)//x\nprint(ans)", "passed": true, "time": 0.19, "memory": 14136.0, "status": "done"}, {"code": "a,b,x = list(map(int, input().split()))\n\nif a == 0:\n    mi = -1\nelif a > 1:\n    mi = (a - 1) // x\nelse:\n    mi = 0\nma = b // x if b != 0 else 0\n\nprint((ma-mi))\n", "passed": true, "time": 0.13, "memory": 14176.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\nbd = b // x\nad = (a-1) // x\nprint((bd - ad))\n", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "a,b,x=list(map(int,input().split()))\nprint((b//x-(a-1)//x))\n", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "a,b,x = map(int,input().split())\nif a%x == 0:\n    min = a//x - 1\nelse:\n    min = a//x\nmax = b//x\nprint(max-min)", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "a, b, x = list(map(int, input().split()))\n\ndef f(n, d):\n  if n == -1:\n    return 0\n  return n // d + 1\n\nprint((f(b, x) - f(a - 1, x)))\n\n#b\u3092\u5272\u3063\u305f\u3068\u304d\u306e\u500b\u6570\u304b\u3089a\u3092\u5272\u3063\u305f\u3068\u304d\u306e\u500b\u6570\u3092\u5f15\u304f\n", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "def __starting_point():\n    a, b, x = map(int, input().split())\n    l = b // x\n    r = (a-1) // x\n    print(l - r)\n__starting_point()", "passed": true, "time": 0.14, "memory": 14032.0, "status": "done"}, {"code": "a, b, x = map(int, input().split())\n\nprint(b // x - (a - 1) // x)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "# cook your dish here\n\nli=list(map(int,input().split()))\nif li[0]-1<0:\n    print((li[1]//li[2])+1)\nelse:\n    print((li[1]//li[2])-(li[0]-1)//li[2])", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\nbb=b//x\naa=a//x\nans=bb-aa\nif a%x==0:\n    ans+=1\nprint(ans)", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a,b,x=map(int,input().split())\naa=(a-1)//x\nbb=b//x\nprint(bb-aa)", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}]