Borderou de evaluare (job #1606220)

Utilizator stoianmihailStoian Mihail stoianmihail Data 20 februarie 2016 01:05:01
Problema Lacat Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c:13:1: warning: "/*" within comment [-Wcomment] /* ^ user.c: In function ‘back’: user.c:42:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (color[i] != vreau) { ^ user.c:49:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] color[i] = vreau; ^ user.c:51:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] fprintf(stdout, "%c%d\n", tip[color[i] = vreau], i); ^ user.c:51:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c: In function ‘main’: user.c:85:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacat.in", "r", stdin); ^ user.c:86:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.c:91: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
20ms264kbOK10
30ms268kbOK10
40ms264kbOK10
50ms264kbOK10
64ms268kbOK10
744ms268kbOK10
8184ms272kbOK10
9368ms264kbOK10
10740ms264kbOK10
Punctaj total100

Ceva nu functioneaza?