Problem exponentiate
User zsinfo2010
Submission Time 2025-07-18 13:51:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:13:32: error: invalid operands of types ‘double’ and ‘long double’ to binary ‘operator%’
13 | double result = intermediate % m;
| ~~~~~~~~~~~~ ^ ~
| | |
| double long double