0_0_38583528_31260.cpp: In instantiation of 'Modular<Mod> Modular<Mod>::inv() const [with int Mod = 998244353]':
0_0_38583528_31260.cpp:368:31: required from here
0_0_38583528_31260.cpp:55:29: error: no matching function for call to 'power(const Modular<998244353>&, int, int)'
return Modular(power(*this, Mod - 2, Mod));
~~~~~^~~~~~~~~~~~~~~~~~~~~
0_0_38583528_31260.cpp:28:3: note: candidate: 'template<class T> T power(T, int)'
T power(T a, int b) {
^~~~~
0_0_38583528_31260.cpp:28:3: note: template argument deduction/substitution failed:
0_0_38583528_31260.cpp:55:29: note: candidate expects 2 arguments, 3 provided
return Modular(power(*this, Mod - 2, Mod));
~~~~~^~~~~~~~~~~~~~~~~~~~~
|