Borderou de evaluare (job #693216)
Utilizator | Data | 27 februarie 2012 10:59:04 | |
---|---|---|---|
Problema | Rk | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire(unsigned int&)’:
user.cpp:17: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
user.cpp:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void insert(int, int)’:
user.cpp:46: warning: comparison between signed and unsigned integer expressions
user.cpp:47: warning: comparison between signed and unsigned integer expressions
user.cpp:47: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int cauta(int, int)’:
user.cpp:61: warning: comparison between signed and unsigned integer expressions
user.cpp:62: warning: comparison between signed and unsigned integer expressions
user.cpp:62: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int main()’:
user.cpp:73: error: invalid initialization of reference of type ‘unsigned int&’ from expression of type ‘int’
user.cpp:13: error: in passing argument 1 of ‘void citire(unsigned int&)’
user.cpp:81: error: invalid initialization of reference of type ‘unsigned int&’ from expression of type ‘int’
user.cpp:13: error: in passing argument 1 of ‘void citire(unsigned int&)’
user.cpp:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:70: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !