Borderou de evaluare (job #708026)

Utilizator an_drey_curentandreycurent an_drey_curent Data 6 martie 2012 11:32:04
Problema Risipa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In member function ‘char* MARE::ToChar()’: user.cpp:600:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] string[X[0]*9+1] = NULL; ^ user.cpp: In member function ‘MARE MARE::Reverse()’: user.cpp:610:15: error: ‘strrev’ was not declared in this scope strrev(string); ^ user.cpp: In member function ‘bool MARE::operator>(MARE)’: user.cpp:465:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In member function ‘bool MARE::operator<(MARE)’: user.cpp:487:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In member function ‘bool MARE::operator>=(MARE)’: user.cpp:509:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In member function ‘bool MARE::operator<=(MARE)’: user.cpp:531:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In member function ‘bool MARE::operator==(MARE)’: user.cpp:553:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In member function ‘bool MARE::operator!=(MARE)’: user.cpp:575:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void deschidere()’: user.cpp:730:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("risipa.in","r",stdin); ^ user.cpp:731:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("risipa.out","w",stdout); ^ user.cpp: In function ‘void citire()’: user.cpp:736:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&A,&B); ^

Ceva nu functioneaza?