Borderou de evaluare (job #1634219)

Utilizator radu.leonardoThe Doctor radu.leonardo Data 6 martie 2016 13:32:51
Problema Taxe2 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:76:11: error: invalid initialization of reference of type ‘short int&’ from expression of type ‘int’ read(s);read(n); ^ user.cpp:17:13: error: in passing argument 1 of ‘void read(short int&)’ inline void read(short &nr){ ^ user.cpp:76:19: error: invalid initialization of reference of type ‘short int&’ from expression of type ‘int’ read(s);read(n); ^ user.cpp:17:13: error: in passing argument 1 of ‘void read(short int&)’ inline void read(short &nr){ ^ user.cpp:79:24: error: invalid initialization of reference of type ‘short int&’ from expression of type ‘int’ read(m[i][j]); ^ user.cpp:17:13: error: in passing argument 1 of ‘void read(short int&)’ inline void read(short &nr){ ^

Ceva nu functioneaza?