Borderou de evaluare (job #1496178)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 octombrie 2015 15:37:51
Problema Poly Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:40:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[i&1][j]=d[1-i&1][j]; ^ user.c:41:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] e[i&1][j]=e[1-i&1][j]; ^ user.c:46:39: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[i&1][j]<d[1-i&1][i1]+1&&e[1-i&1][i1]<v[i]){ ^ user.c:46:55: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[i&1][j]<d[1-i&1][i1]+1&&e[1-i&1][i1]<v[i]){ ^ user.c:47:39: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[i&1][j]=d[1-i&1][i1]+1; ^ user.c:54:33: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[i&1][0]<d[1-i&1][i1]+1&&e[1-i&1][i1]<v[i]){ ^ user.c:54:49: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[i&1][0]<d[1-i&1][i1]+1&&e[1-i&1][i1]<v[i]){ ^ user.c:55:34: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[i&1][0]=d[1-i&1][i1]+1; ^ user.c:61:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(max<d[1-n&1][i]) ^ user.c:62:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=d[1-n&1][i]; ^ user.c:23:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.c:25:14: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbIncorect0
20ms276kbIncorect0
34ms280kbIncorect0
44ms280kbIncorect0
5Depăşit356kbTime limit exceeded.0
6Depăşit356kbTime limit exceeded.0
7Depăşit352kbTime limit exceeded.0
8Depăşit368kbTime limit exceeded.0
9Depăşit364kbTime limit exceeded.0
10Depăşit364kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?