Pagini recente » Borderou de evaluare (job #3175973) | Borderou de evaluare (job #2075043) | Borderou de evaluare (job #1133050) | Borderou de evaluare (job #1811419) | Borderou de evaluare (job #1915182)
Borderou de evaluare (job #1915182)
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 |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 4ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |