0_0_39258184_12287.cpp: In function 'void solve()':
0_0_39258184_12287.cpp:121:42: error: call of overloaded 'pow(int, int&)' is ambiguous
121 | if(n != 1) a.push_back(1), ans *= pow(2, m);
| ~~~^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/cmath:47,
from .\stdc++.h:114:
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);
| ^~~
0_0_39258184_12287.cpp:99:6: note: candidate: 'MInt pow(i64, i64)'
99 | MInt pow(i64 n, i64 x) { return MInt(n).pow(x); }
| ^~~
0_0_39258184_12287.cpp:100:6: note: candidate: 'MInt pow(MInt, i64)'
100 | MInt pow(MInt n, i64 x) { return n.pow(x); }
| ^~~
|