| Problem | exponentiate |
|---|---|
| User | helloworld |
| Submission Time | 2023-08-29 12:09:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:11:31: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
11 | cout<<pow(1.0*a[i],1.0*b[i])%m[i]<<"\n";
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
| | |
| double int