Problem | exponentiate |
---|---|
User | zsinfo2010 |
Submission Time | 2025-07-18 13:52:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int32_t main()’:
exponentiate.cpp:12:19: error: invalid operands of types ‘long double’ and ‘long double’ to binary ‘operator%’
12 | cout<< pow(a,b) % m << '\n';
| ~~~~~~~~ ^ ~
| | |
| | long double
| long double