Borderou de evaluare (job #788175)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puteri3 (clasele 5-6) | Compilator | cpp-32 |
Rundă | lasm_26_09_2024_clasa10_11 | Status | evaluat |
Dată | 26 sept. 2024 15:01:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:31: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} and 'int' to binary 'operator%'
11 | p=pow(b%10, e)%10;
| ~~~~~~~~~~~~^~~
| | |
| | int
| __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}