Borderou de evaluare (job #1201816)
Utilizator | Data | 26 iunie 2014 10:18:05 | |
---|---|---|---|
Problema | Caramizi | 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:27:10: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’
cit(n); cit(m);
^
user.cpp:11:13: error: in passing argument 1 of ‘void cit(int&)’
inline void cit(int &x)
^
user.cpp:27:18: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’
cit(n); cit(m);
^
user.cpp:11:13: error: in passing argument 1 of ‘void cit(int&)’
inline void cit(int &x)
^
user.cpp:30:16: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’
cit(V[i]);
^
user.cpp:11:13: error: in passing argument 1 of ‘void cit(int&)’
inline void cit(int &x)
^
user.cpp:47:14: error: invalid initialization of reference of type ‘int&’ from expression of type ‘long long int’
cit(c);
^
user.cpp:11:13: error: in passing argument 1 of ‘void cit(int&)’
inline void cit(int &x)
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("caramizi.in", "r", stdin);
^
user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("caramizi.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !