Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number consisting exactly the numbers from 1 to 9, only in a…
Java--大数计算,妈妈再也不用担心我的学习了 . BigInteger 英文API: http://docs.oracle.com/javase/8/docs/api/ 中文API: http://tool.oschina.net/apidocs/apidoc?api=jdk-zh import java.math.BigInteger; import java.util.Scanner; //hdu 1002----A + B Problem II public class Main {…