{"trustable":true,"sections":[{"title":"题目描述","value":{"format":"MD","content":"由于科协里最近真的很流行数字游戏,某人又命名了一种取模数,这种数字必须满足各位数字之和 $\\bmod N$ 为 $0$。现在大家又要玩游戏了,指定一个整数闭区间 $[a,b]$,问这个区间内有多少个取模数。"}},{"title":"输入格式","value":{"format":"MD","content":"题目有多组测试数据。每组只含三个数字 $a, b, N$。"}},{"title":"输出格式","value":{"format":"MD","content":"对于每个测试数据输出一行,表示各位数字和 $\\bmod N$ 为 $0$ 的数的个数。"}},{"title":"样例","value":{"format":"MD","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e1 19 9\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"数据范围与提示","value":{"format":"MD","content":"对于全部数据,$1\\le a,b\\le 2^{31}-1,1\\le N\\lt 100$。"}}]}