I saw BenQ's template GitHub and saw his ModInt template (https://github.com/bqi343/cp-notebook/blob/master/Implementations/content/number-theory%20(11.1)/Modular%20Arithmetic/ModInt.h) and I was wondering if someone has made a similar template to support huge numbers using strings (which can support every operation that ints or long longs support but the underlying structure is a string).
Auto comment: topic has been updated by arctano (previous revision, new revision, compare).