Borderou de evaluare (job #1953395)

Utilizator vazanIonescu Victor Razvan vazan Data 4 aprilie 2017 19:52:40
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 51

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.in", "r", stdin); ^ user.cpp:49:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.out", "w", stdout); ^ user.cpp:50:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccyqZ8nV.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK!10
20ms252kbOK!10
30ms256kbAfisarea Ingredientelor gresita3
40ms268kbOK!10
50ms260kbAfisarea Ingredientelor gresita3
60ms272kbAfisarea Ingredientelor gresita3
70ms256kbAfisarea Ingredientelor gresita3
80ms260kbAfisarea Ingredientelor gresita3
90ms260kbAfisarea Ingredientelor gresita3
100ms260kbAfisarea Ingredientelor gresita3
Punctaj total51

Ceva nu functioneaza?