[英]How can I find the smallest number of n digits that is not divisible by 3?
As the input you get the number n.作为输入,您将获得数字 n。 You should output the smallest number of n digits which is not beginning or ending with zeros and will not be divisible by 3 in all of the number systems.您应该 output 不是以零开头或结尾的最小 n 位数,并且在所有数字系统中都不能被 3 整除。
My main problem is that I don't know, how can I find the numbers only from n digits, and without it all the tries are useless我的主要问题是我不知道,我怎样才能只从 n 位中找到数字,没有它所有的尝试都是无用的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.