Problem exponentiate
User popperoni
Submission Time 2023-12-16 20:28:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:21:52: error: invalid operands of types ‘long long int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
21 | cout << ((static_cast<long long>(pow(b, c))) % d << endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
exponentiate.cpp:21:59: error: expected ‘)’ before ‘;’ token
21 | cout << ((static_cast<long long>(pow(b, c))) % d << endl;
| ~ ^
| )