Borderou de evaluare (job #830309)

Utilizator geniucosOncescu Costin geniucos Data 6 decembrie 2012 17:02:54
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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/cchW4ziC.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
14ms244kbOK10
24ms248kbOK10
34ms244kbOK10
424ms364kbOK10
5152ms1104kbOK10
6356ms1220kbOK10
7876ms1220kbOK10
8912ms1224kbOK10
9788ms1220kbOK10
10844ms1224kbOK10
Punctaj total100

Ceva nu functioneaza?