Borderou de evaluare (job #838034)

Utilizator Teodor94Teodor Plop Teodor94 Data 18 decembrie 2012 22:02:17
Problema Cstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/ccEsiqB3.o: In function `read()': user.cpp:(.text+0xea): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbRaspuns Gresit! Distanta obtinuta=6 Distanta corecta=50
20ms244kbRaspuns Gresit! Distanta obtinuta=17 Distanta corecta=140
30ms240kbOK!10
40ms244kbRaspuns Gresit! Distanta obtinuta=119 Distanta corecta=750
50ms244kbRaspuns Gresit! Distanta obtinuta=333 Distanta corecta=3010
612ms444kbRaspuns Gresit! Distanta obtinuta=24000 Distanta corecta=235070
752ms1216kbRaspuns Gresit! Distanta obtinuta=132666 Distanta corecta=1163330
8100ms2196kbRaspuns Gresit! Distanta obtinuta=230000 Distanta corecta=2280070
9152ms2884kbRaspuns Gresit! Distanta obtinuta=400000 Distanta corecta=3500090
10172ms3160kbRaspuns Gresit! Distanta obtinuta=279843 Distanta corecta=2599870
Punctaj total10

Ceva nu functioneaza?