Borderou de evaluare (job #915904)

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

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:80: warning: array subscript has type ‘char’ user.cpp:80: warning: array subscript has type ‘char’ user.cpp: In function ‘void generare(int)’: user.cpp:108: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:118: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:119: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:124: warning: ignoring return value of ‘int scanf(const 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:128: 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/ccYvN5uJ.o: In function `main': user.cpp:(.text+0x6c3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
24ms240kbOK10
30ms240kbOK10
44ms240kbOK10
58ms240kbOK10
64ms240kbOK10
74ms240kbOK10
80ms244kbOK10
90ms240kbOK10
104ms240kbOK10
Punctaj total100

Ceva nu functioneaza?