Borderou de evaluare (job #1606215)

Utilizator stoianmihailStoian Mihail stoianmihail Data 20 februarie 2016 00:51:42
Problema Lacat Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.c: In function ‘back’: user.c:42:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[i] != vreau) { ^ user.c:50:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[i] = vreau; ^ user.c:51:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] push(color[i], i); ^ user.c: In function ‘main’: user.c:86:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacat.in", "r", stdin); ^ user.c:87:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.c:95:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacat.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms268kbOK10
30ms272kbOK10
40ms276kbOK10
50ms272kbOK10
64ms292kbOK10
740ms436kbOK10
88msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
Punctaj total70

Ceva nu functioneaza?