Problem | exponentiate_ex |
---|---|
User | P55D2K |
Submission Time | 2023-05-07 07:52:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate_ex.cpp: In function ‘int main()’:
exponentiate_ex.cpp:626:22: error: no matching function for call to ‘fmod(bigint&, bigint&)’
626 | a = fmod(a, m);
| ^
In file included from /usr/include/features.h:461,
from /usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528,
from /usr/include/c++/9/iostream:38,
from exponentiate_ex.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: note: candidate: ‘double fmod(double, double)’
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y));
| ^~~~~~~~~~
In file included from /usr/include/c++/9/cmath:45,
from /usr/include/c++/9/math.h:36,
from exponentiate_ex.cpp:2:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: note: no known conversion for argument 1 from ‘bigint’ to