Borderou de evaluare (job #608063)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ucif (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 30 sept. 2021 17:50:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:25: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} and 'int' to binary 'operator%'
19 | s = s + pow(i,i)%10;
| ~~~~~~~~^~~
| | |
| | int
| __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}