Borderou de evaluare (job #3133795)

Utilizator BereaBerendea Andrei Berea Data 26 mai 2023 23:17:30
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:55:17: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int' 55 | d=solve(x,y,a,b); | ^ main.cpp:9:16: note: initializing argument 1 of 'int solve(int&, int&, int, int)' 9 | int solve(int &x, int &y, int a, int b) | ~~~~~^ Non zero exit status: 1

Ceva nu functioneaza?