Problem | exponentiate |
---|---|
User | zsinfo2010 |
Submission Time | 2025-07-18 13:47:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:12:25: error: invalid operands of types ‘long double’ and ‘long double’ to binary ‘operator%’
12 | int result = pow(a,b) % m;
| ~~~~~~~~ ^ ~
| | |
| | long double
| long double