翻译一道题
Given any integer 0 <= n <= 10000 not divisible by 2 or 5, some multiple of n is a number which in decimal notation is a sequence of 1's. How many digits are in the smallest such a multiple of n?
Sample Input
3
7
9901
Sample Output
3
6
12
[此贴子已经被作者于2007-4-6 18:57:37编辑过]
搜索更多相关的解决方案:
翻译
----------------解决方案--------------------------------------------------------
给任何一个整数0 < = n < =由2或者5并非可分的10000,多重的一些n是一系列1's的一数字在十进制的符号中。 多少数字在中最小这样一种多重n?
抽样输入
3
7
9901
抽样输出
3
6
12
----------------解决方案--------------------------------------------------------
multiple 好像翻译成倍数吧,翻译的我看都看不懂
----------------解决方案--------------------------------------------------------
给出一个不能被2和5整除的数,问这个数可以被最少的几个1组成的数整除
----------------解决方案--------------------------------------------------------