This library consists up of various BIG INTEGER functions written in C++ which are present in the inbuilt BIGINTEGER library of JAVA.
BIG INTEGERS are those integers which can be accomodated in a normal data type of 64 bit capacity.
This library consists up of 14 various functions to be used for big integers:
1.)CBigINT_add(string,string)-Return sum of two big integers. // 2.)CBigINT_sub(string,string)-Return difference of two big integers. // 3.)CBigINT_mul(string,string)-Return product of two big integers. // 4.)CBigINT_max(string,string)-Return maximum of the two big integers. // 5.)CBigINT_min(string,string)-Return minimum of the two big integers. // 6.)CBigINT_gcd(long long,string)-Return greatest common divisor of the two integers. // 7.)CBigINT_mod(long long,string)-Return modulus of one integer with other. // 8.)CBigINT_abs(string)-Return absolute value of the big integer. // 9.)CBigINT_factorial(long long)-Return factorial of <=64 bit number.(Result is a big integer). // 10.)CBigINT_prime(long long)-Return true:if integer is prime else:false // 11.)CBigINT_increase(string)-Increase the big integer by 1. // 12.)CBigINT_decrease(string)-Decrease the big integer by 1. // 13.)CBigINT_nextPerm(string)-Form next permutation (if possible) of big integer. // 14.)CBigINT_prevPerm(string)-Form previous permutation (if possible) of big integer.
SOME QUESTIONS BASED ON BIG INTEGER:
Chef The Brave Warrior
Weird Sum
Ganesh Impresses Jojo