Borderou de evaluare (job #3199185)

Utilizator Theo20067Cismaru Theodor-Alexe Theo20067 Data 31 ianuarie 2024 22:15:58
Problema Mult Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void elem::adunare(const elem&)': main.cpp:18:17: error: invalid operands of types 'int' and 'double' to binary 'operator%' 18 | x[i]%=BAZA; | ^ main.cpp:18:17: note: in evaluation of 'operator%=(int, double)' main.cpp:22:24: error: invalid operands of types 'int' and 'double' to binary 'operator%' 22 | x[++x[0]]=t%BAZA; | ~^ | | | int Non zero exit status: 1

Ceva nu functioneaza?