Borderou de evaluare (job #1646745)
Utilizator | Data | 10 martie 2016 17:32:28 | |
---|---|---|---|
Problema | Alee | 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:25:8: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(n);read(m);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:25:16: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(n);read(m);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:27:27: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
for(i=1;i<=m;i++) {read(l);read(c);v[l][c]=-1;}
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:27:35: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
for(i=1;i<=m;i++) {read(l);read(c);v[l][c]=-1;}
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:28:8: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(x1);read(y1);read(x2);read(y2);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:28:17: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(x1);read(y1);read(x2);read(y2);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:28:26: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(x1);read(y1);read(x2);read(y2);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:28:35: error: invalid initialization of reference of type ‘int&’ from expression of type ‘short int’
read(x1);read(y1);read(x2);read(y2);
^
user.cpp:12:13: error: in passing argument 1 of ‘void read(int&)’
inline void read(int &nr)
^
user.cpp:57:6: warning: unused variable ‘g’ [-Wunused-variable]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !