摘要:
BigInteger / BigDecimal / string 一些常用的函数:加 add减 substract乘 multiply除 divid取余 mod / remainder (reminder可用于BigDecimal)次幂 pow(int)绝对值 abs相反数 negate比较 com... 阅读全文
摘要:
先上C的:适用于正int的. 1 int read() 2 { 3 char ch=' '; 4 int ans=0; 5 while(ch'9') 6 ch=getchar(); 7 while(ch='0') 8 { 9 a... 阅读全文