Borderou de evaluare (job #830307)

Utilizator geniucosOncescu Costin geniucos Data 6 decembrie 2012 17:01:53
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/cc7trI7L.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
34ms248kbOK10
424ms336kbOK10
5160ms340kbOK10
6352ms352kbOK10
7876ms348kbOK10
8768ms436kbOK10
9812ms336kbOK10
10828ms336kbOK10
Punctaj total100

Ceva nu functioneaza?