Borderou de evaluare (job #1097446)

Utilizator biiaaBunaciu Bianca biiaa Data 3 februarie 2014 14:18:22
Problema Parc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:19:18: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’ inv(xf,xg); ^ user.cpp:9:6: error: in passing argument 1 of ‘void inv(int&, int&)’ void inv(int &a, int &b) ^ user.cpp:21:18: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’ inv(yf,yg); ^ user.cpp:9:6: error: in passing argument 1 of ‘void inv(int&, int&)’ void inv(int &a, int &b) ^ user.cpp:26:24: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’ if(a>b) inv(a,b); ^ user.cpp:9:6: error: in passing argument 1 of ‘void inv(int&, int&)’ void inv(int &a, int &b) ^ user.cpp:35:24: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’ if(a>b) inv(a,b); ^ user.cpp:9:6: error: in passing argument 1 of ‘void inv(int&, int&)’ void inv(int &a, int &b) ^

Ceva nu functioneaza?