Problem exponentiate
User popperoni
Submission Time 2024-02-08 20:59:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:21:28: error: invalid operands of types ‘double’ and ‘long long int’ to binary ‘operator%’
21 | cout << floor(pow(b, c)) % d << endl;
| ~~~~~~~~~~~~~~~~ ^ ~
| | |
| double long long int