Borderou de evaluare (job #915896)

Utilizator cat_red20Vasile Ioana cat_red20 Data 15 martie 2013 15:07:07
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int variabile()’: user.cpp:17: warning: array subscript has type ‘char’ user.cpp:19: warning: array subscript has type ‘char’ user.cpp:28: warning: array subscript has type ‘char’ user.cpp: In function ‘bool evaluare(char*)’: user.cpp:53: warning: array subscript has type ‘char’ user.cpp:79: warning: array subscript has type ‘char’ user.cpp:79: warning: array subscript has type ‘char’ user.cpp: In function ‘void generare(int)’: user.cpp:107: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:117: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:118: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:123: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:126: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:127: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘bool eval(bool, bool, char)’: user.cpp:42: warning: control reaches end of non-void function /tmp/cciJWfHz.o: In function `main': user.cpp:(.text+0x693): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK10
24ms244kbIncorect0
30ms240kbIncorect0
44ms240kbIncorect0
58ms244kbIncorect0
64ms244kbIncorect0
74ms244kbIncorect0
80ms240kbOK10
90ms244kbIncorect0
104ms244kbIncorect0
Punctaj total20

Ceva nu functioneaza?