Borderou de evaluare (job #890316)
Utilizator | Data | 24 februarie 2013 23:40:12 | |
---|---|---|---|
Problema | Cezar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire()’:
user.cpp:53: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’
user.cpp:53: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’
user.cpp:67: error: invalid initialization of non-const reference of type ‘NOD*&’ from a temporary of type ‘int’
user.cpp:13: error: in passing argument 1 of ‘void add(NOD*&, int)’
user.cpp:68: error: invalid initialization of non-const reference of type ‘NOD*&’ from a temporary of type ‘int’
user.cpp:13: error: in passing argument 1 of ‘void add(NOD*&, int)’
user.cpp:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘int main()’:
user.cpp:145: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
user.cpp:139: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:140: 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 !