Borderou de evaluare (job #830291)

Utilizator geniucosOncescu Costin geniucos Data 6 decembrie 2012 16:48:27
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30: warning: array subscript has type ‘char’ user.cpp:48: warning: array subscript has type ‘char’ user.cpp:68: warning: array subscript has type ‘char’ user.cpp:73: warning: array subscript has type ‘char’ user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:63: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/ccvZYC6g.o: In function `main': user.cpp:(.text+0x187): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms248kbOK10
24ms244kbOK10
34ms248kbOK10
424ms344kbOK10
5148ms340kbOK10
6364ms376kbKilled by signal 6(SIGABRT).0
7784ms376kbKilled by signal 6(SIGABRT).0
8812ms376kbKilled by signal 6(SIGABRT).0
9820ms340kbOK10
10812ms340kbOK10
Punctaj total70

Ceva nu functioneaza?