Borderou de evaluare (job #1324013)

Utilizator nacrocRadu C nacroc Data 21 ianuarie 2015 18:27:45
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);++i){ ^ user.cpp:29:36: 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:30:38: 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:33:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccIfwvq7.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbAfisarea Ingredientelor gresita3
20ms236kbAfisarea Ingredientelor gresita3
30ms228kbAfisarea Ingredientelor gresita3
40ms236kbAfisarea Ingredientelor gresita3
50ms236kbAfisarea Ingredientelor gresita3
60ms236kbAfisarea Ingredientelor gresita3
70ms240kbAfisarea Ingredientelor gresita3
80ms236kbAfisarea Ingredientelor gresita3
90ms232kbAfisarea Ingredientelor gresita3
100ms240kbAfisarea Ingredientelor gresita3
Punctaj total30

Ceva nu functioneaza?