标签:can equals val col string count put public ide
public class Main{ public static void main(String[] args) { Scanner input = new Scanner(System.in); BigInteger a = input.nextBigInteger(); int count=0; for(BigInteger i=BigInteger.valueOf(1);;i = (i.multiply(BigInteger.valueOf(10)).add(BigInteger.valueOf(1)))) { count++; if((i.mod(a)).equals(BigInteger.valueOf(0))) { System.out.print(i.divide(a)+" "+count); break; } } } }
标签:can equals val col string count put public ide
原文地址:https://www.cnblogs.com/tonyyy/p/10589931.html