Borderou de evaluare (job #786989)

Utilizator avatar WiseAndrei4 Vetrila Andrei WiseAndrei4 IP ascuns
Problemă Abc 1 (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 sept. 2024 20:06:34 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:22:19: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} and 'int' to binary 'operator%' 22 | gout<<pow(a,b)%10; | ~~~~~~~~^~~ | | | | | int | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}