Borderou de evaluare (job #627372)

Utilizator crazzytudTudor Popa crazzytud Data 29 octombrie 2011 18:01:27
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22: warning: array subscript has type ‘char’ user.cpp:23: warning: array subscript has type ‘char’ user.cpp:24: warning: array subscript has type ‘char’ user.cpp:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘bool expresie()’: user.cpp:42: warning: suggest parentheses around assignment used as truth value user.cpp: In function ‘bool termen()’: user.cpp:73: warning: array subscript has type ‘char’ /tmp/ccHQSq62.o: In function `main': user.cpp:(.text+0x245): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK!10
20ms248kbWrong answer!0
30ms248kbWrong answer!0
40ms252kbWrong answer!0
50ms252kbOK!10
60ms248kbOK!10
70ms248kbOK!10
80ms248kbOK!10
90ms248kbOK!10
100ms248kbWrong answer!0
Punctaj total60

Ceva nu functioneaza?