Problem exponentiate
User Johnnie
Submission Time 2023-06-19 10:08:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:11:22: error: invalid operands of types ‘long double’ and ‘long double’ to binary ‘operator%’
11 | cout << powl(A, B) % M << endl;
| ~~~~~~~~~~ ^ ~
| | |
| | long double
| long double