Borderou de evaluare (job #613770)

Utilizator avatar Radu_Tanase Tanase Radu Mihai Radu_Tanase IP ascuns
Problemă Divizor (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 nov. 2021 13:26:09 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:36:10: error: invalid operands of types 'int' and '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} to binary 'operator%' 36 | n=n%pow(10,m-1)*10+x; | ~^~~~~~~~~~~~ | | | | int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}