Borderou de evaluare (job #786827)

Utilizator avatar x_____Robert___x Nani Robert x_____Robert___x IP ascuns
Problemă Centru Prim (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 sept. 2024 23:14:39 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:16: error: invalid operands of types 'double' and '__gnu_cxx::__promote_2<int, double, double, double>::__type' {aka 'double'} to binary 'operator%' 25 | r=r%pow(10,i); | ~^~~~~~~~~~ | | | | | __gnu_cxx::__promote_2<int, double, double, double>::__type {aka double} | double