I would like to share a library which provides integer, rational and floating-point types in C++ that have more range and precision than C++'s ordinary built-in types. You can easily use this library to get values equal to even 100 ! (100 factorial) and larger. This library also extends expression template support to standard library functions like abs or sin with number arguments
I will give code example below so that you can use it instead of array multiplication or division and get fast AC in easy problems which require arithmetic operations on large numbers.
If you want to read more about it, you can see here.
Code to compute 100! and 99! : link
Here are some problems where you can try this library :
This library works fine on CodeChef and HackerEarth. However, it doesn’t works on HackerRank and CodeForces.
Thank You !!