Borderou de evaluare (job #696653)

Utilizator CBogdanCiobanu Bogdan CBogdan Data 28 februarie 2012 19:24:31
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/ccOFTsZE.o: In function `read()': user.cpp:(.text+0x2df): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbIncorect!0
20ms252kbS-a respectat legea!10
30ms260kbS-a respectat legea!10
40ms260kbS-a respectat legea!10
50ms276kbS-a respectat legea!10
60ms264kbS-a respectat legea!10
70ms284kbS-a respectat legea!10
80ms276kbS-a respectat legea!10
90ms248kbIncorect!0
100ms264kbIncorect!0
Punctaj total70

Ceva nu functioneaza?