import java.math.*;
public class J_In
{
public static void main(String args[])
{
BigInteger b=BigInteger.valueOf(36);//声明 b 的值为36
BigInteger n=b.gcd(BigInteger.valueOf(48));
System.out.println(n);
BigInteger bi=BigInteger.ONE;
//bi 的值为1;
for(int i=0;i<64;i++)
{
bi=bi.multiply(BigInteger.valueOf(2));
}
bi=bi.subtract(BigInteger.ONE);// BigInteger 的减法
System.out.println(bi);
BigInteger c=BigInteger.ONE;
c=c.multiply(BigInteger.valueOf(2));//作乘法运算
System.out.println(c);
c=c.multiply(BigInteger.valueOf(2));//作乘法运算
System.out.println(c);
c=c.subtract(BigInteger.valueOf(3));
System.out.println(c);
}
} |
|