Borderou de evaluare (job #1915182)

Utilizator gabipinteaPintea Gabriel gabipintea Data 8 martie 2017 20:05:55
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void lee(int, int)’: user.cpp:31:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[i+1][j]!=-1) if((a[i+1][j]==0)&&(i+1<=n)) {a[i+1][j]=a[i][j]+1; poz[i2].c=i+1; poz[i2].d=j; i2++;} ^ user.cpp:34:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[i-1][j]!=-1) if((a[i-1][j]==0)&&(i-1>=0)) {a[i-1][j]=a[i][j]+1; poz[i2].c=i-1; poz[i2].d=j; i2++;} ^ user.cpp:37:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[i][j+1]!=-1) if((a[i][j+1]==0)&&(j+1)) {a[i][j+1]=a[i][j]+1; poz[i2].c=i; poz[i2].d=j+1; i2++;} ^ user.cpp:40:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a[i][j-1]!=-1) if((a[i][j-1]==0)&&(j-1>=0)) {a[i][j-1]=a[i][j]+1; poz[i2].c=i; poz[i2].d=j-1; i2++;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10msDepăşitMemory limit exceeded.0
20msDepăşitMemory limit exceeded.0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
50msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?