Borderou de evaluare (job #1606214)

Utilizator stoianmihailStoian Mihail stoianmihail Data 20 februarie 2016 00:48:22
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
10ms276kbOK10
20ms268kbOK10
30ms276kbOK10
40ms272kbOK10
50ms268kbOK10
64ms288kbOK10
744ms440kbOK10
88msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total70

Ceva nu functioneaza?