Borderou de evaluare (job #982897)
Utilizator | Data | 10 august 2013 14:26:48 | |
---|---|---|---|
Problema | Bile | 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:53:16: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
cit(a[i]);
^
user.cpp:32:6: error: in passing argument 1 of ‘void cit(int&)’
void cit(int &a)
^
user.cpp:54:16: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
cit(b[i]);
^
user.cpp:32:6: error: in passing argument 1 of ‘void cit(int&)’
void cit(int &a)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !