Problem | exponentiate_ex |
---|---|
User | nguyendinhanh1508 |
Submission Time | 2024-04-18 00:09:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate_ex.cpp: In function ‘int32_t main()’:
exponentiate_ex.cpp:35:24: error: no matching function for call to ‘exp(long long int&, long long int&, long long int&)’
35 | cout << exp(a, b, m) << '\n';
| ^
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/cassert:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from exponentiate_ex.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: note: candidate: ‘double exp(double)’
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x));
| ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/c++/9/valarray: