0_0_39451894_24179.cpp: In function 'void computeFactorials(std::vector<int>&, std::vector<int>&, int)':
0_0_39451894_24179.cpp:32:21: error: no matching function for call to 'pow(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&, int, const int&)'
32 | invFact[n] = pow(fact[n], MOD - 2, MOD);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from 0_0_39451894_24179.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:417:5: note: candidate: 'template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)'
417 | pow(_Tp __x, _Up __y)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:417:5: note: template argument deduction/substitution failed:
0_0_39451894_24179.cpp:32:21: note: candidate expects 2 arguments, 3 provided
32 | invFact[n] = pow(fact[n], MOD - 2, MOD);
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:47:
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:191:18: note: candidate: 'double pow(double, double)'
191 | double __cdecl pow(double _X,double _Y);
| ^~~
gcc-13.1.0/x86_64-w64-mingw32/include/math.h:191:18: note: candidate expects 2 arguments, 3 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:394:3: note: candidate: 'constexpr long double std::pow(long double, long double)'
394 | pow(long double __x, long double __y)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:394:3: note: candidate expects 2 arguments, 3 provided
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:390:3: note: candidate: 'constexpr float std::pow(float, float)'
390 | pow(float __x, float __y)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:390:3: note: candidate expects 2 arguments, 3 provided
|