Borderou de evaluare (job #746585)

Utilizator avatar bordescu Radu Bordesu bordescu IP ascuns
Problemă Plus (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 nov. 2023 18:03:57 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:34:15: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int' 34 | x=pcif(n, cif); | ^~~ main.cpp:9:28: note: initializing argument 2 of 'int pcif(long long int, int&)' 9 | int pcif(long long n, int &cif) | ~~~~~^~~ main.cpp:44:16: error: cannot convert 'long long int*' to 'int*' 44 | elseul(v, i); | ^ | | | long long int* main.cpp:19:17: note: initializing argument 1 of 'void elseul(int*, int)' 19 | void elseul(int v[15], int i) | ~~~~^~~~~