Borderou de evaluare (job #1837463)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 29 decembrie 2016 18:46:05
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:44:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a)-1;) ^ user.cpp:39: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:40: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:42:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a, Nmax, stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbAfisarea Ingredientelor gresita3
20ms400kbAfisarea Ingredientelor gresita3
30ms400kbAfisarea Ingredientelor gresita3
40ms400kbAfisarea Ingredientelor gresita3
50ms408kbAfisarea Ingredientelor gresita3
60ms400kbAfisarea Ingredientelor gresita3
70ms404kbAfisarea Ingredientelor gresita3
80ms404kbAfisarea Ingredientelor gresita3
90ms408kbAfisarea Ingredientelor gresita3
100ms404kbAfisarea Ingredientelor gresita3
Punctaj total30

Ceva nu functioneaza?