{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"给你一个数n,一个数m,你需要找到一个k,表示k个n组成的数字可以被m整除。\n例如给你1和3,那么111可以被3整除,所以k为3\n "}},{"title":"Input","value":{"format":"MD","content":" 输入一个T \u003c\u003d 300,代表样例数。\n每个样例会给你两个数m(需要除的数,1\u003c\u003dm\u003c\u003d1e6,且它不能被2或5整除)和n(代表数字由n组成,1\u003c\u003dn\u003c\u003d9)。"}},{"title":"Output","value":{"format":"MD","content":"对于每种情况,打印案例编号和此倍数的位数。如果有几种解决方案;输出最小的一个。"}},{"title":"Sample Input","value":{"format":"MD","content":"\u003cpre\u003e\n3\n3 1\n7 3\n9901 1\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"MD","content":"\u003cpre\u003e\nCase 1: 3\nCase 2: 6\nCase 3: 12\n\u003c/pre\u003e"}}]}