Borderou de evaluare (job #1837484)

Utilizator maria_sinteaMaria Sintea maria_sintea Data 29 decembrie 2016 19:05:02
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 51

Raport evaluator

Compilare: user.cpp: In function ‘void timp()’: user.cpp:39:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a)-1;) ^ user.cpp: In function ‘void lista()’: user.cpp:57:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(a)-1;) ^ user.cpp:63:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[x++]=a[i++]; ^ user.cpp:64:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[x]='\0'; ^ user.cpp: In function ‘int main()’: user.cpp:88: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:89: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:91: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
10ms404kbOK!10
20ms404kbOK!10
30ms408kbAfisarea Ingredientelor gresita3
40ms404kbAfisarea Ingredientelor gresita3
50ms400kbOK!10
60ms404kbAfisarea Ingredientelor gresita3
70ms408kbAfisarea Ingredientelor gresita3
80ms404kbAfisarea Ingredientelor gresita3
90ms404kbAfisarea Ingredientelor gresita3
100ms404kbAfisarea Ingredientelor gresita3
Punctaj total51

Ceva nu functioneaza?