Pagini recente » Borderou de evaluare (job #375951) | Borderou de evaluare (job #1457697) | Borderou de evaluare (job #1998479) | Borderou de evaluare (job #1133619) | Borderou de evaluare (job #2257454)
Borderou de evaluare (job #2257454)
Raport evaluator
Compilare:
user.cpp: In function ‘void fill(int, int, int)’:
user.cpp:10:105: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a[i][j]<h&&a[i][j]>0&&((a[i][j-1]==0||a[i][j+1]==0||a[i+1][j]==0||a[i-1][j]==0)||(a[i][j+1]<h&&a[i][j+1]>0||a[i][j-1]<h&&a[i][j-1]>0||a[i+1][j]<h&&a[i+1][j]>0||a[i-1][j]<h&&a[i-1][j]>0))){
~~~~~~~~~~~^~~~~~~~~~~~~
user.cpp:10:157: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a[i][j]<h&&a[i][j]>0&&((a[i][j-1]==0||a[i][j+1]==0||a[i+1][j]==0||a[i-1][j]==0)||(a[i][j+1]<h&&a[i][j+1]>0||a[i][j-1]<h&&a[i][j-1]>0||a[i+1][j]<h&&a[i+1][j]>0||a[i-1][j]<h&&a[i-1][j]>0))){
~~~~~~~~~~~^~~~~~~~~~~~~
user.cpp:10:183: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a[i][j]<h&&a[i][j]>0&&((a[i][j-1]==0||a[i][j+1]==0||a[i+1][j]==0||a[i-1][j]==0)||(a[i][j+1]<h&&a[i][j+1]>0||a[i][j-1]<h&&a[i][j-1]>0||a[i+1][j]<h&&a[i+1][j]>0||a[i-1][j]<h&&a[i-1][j]>0))){
~~~~~~~~~~~^~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:30:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:32:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i=1;i<=n;i++)
^~~
user.cpp:24:23: warning: unused variable ‘s’ [-Wunused-variable]
int n,m,h,i,j,s=0,nr=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1360kb | Incorect | 0 |
2 | 0ms | 3504kb | Incorect | 0 |
3 | 232ms | Depăşit | Memory limit exceeded. | 0 |
4 | 12ms | 3560kb | Incorect | 0 |
5 | 48ms | 3504kb | Incorect | 0 |
6 | 188ms | 5048kb | Incorect | 0 |
7 | 212ms | 5880kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 48ms | 3508kb | OK | 10 |
9 | 184ms | 4892kb | Incorect | 0 |
10 | 232ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 10 |