这个计算器是计算C(n,r)值的。 它能够快速计算出很大很大的n和很大的r的值。 比如 C(1000000,100)的值多少? 下面看看结果: The Value R =: 100 The Value N =: 100,000,0 The Value C(n,r) = 106,621,924,285,106,201,287,451,825,038,562,207,162,667,291,115,250,807,231,138,436,050,033,662,565, 128,461,577,0
利用java进行浮点型大数计算,支持四则运算和指数函数,三角函数,对数函数,双曲函数等运算,精度可调整。例如: MATH a=new MATH("1111.111111111111222222222222*33333333333); MATH b=a.eval("Sin(Pi())*Power(2,5));
Input
The first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of two positive integers, A and B. Notice that the integers are very large, that means you should no