{"trustable":true,"sections":[{"title":"","value":{"format":"MD","content":"回文数或数字回文是一种“对称”的数字,比如16461,当其数字颠倒时仍保持不变。在这个问题中,你将会得到两个整数**i j**,你需要找出在**i**和**j**之间(包括两者)的回文数的个数。"}},{"title":"输入","value":{"format":"MD","content":"输入以一个整数**T(≤ 200)**开始,表示测试用例的数量。\n\n每个测试用例以一行包含两个整数**i j(0 ≤ i, j ≤ 10\u003csup\u003e17\u003c/sup\u003e)**开始。"}},{"title":"输出","value":{"format":"MD","content":"对于每个测试用例,输出用例编号以及在**i**和**j**之间(包括两者)的回文数的总数。"}},{"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\u003e4\n1 10\n100 1\n1 1000\n1 10000\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003eCase 1: 9\nCase 2: 18\nCase 3: 108\nCase 4: 198\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e"}}]}