Borderou de evaluare (job #2595994)
Raport evaluator
Compilare:
main.cpp: In function 'void fill(int (*)[400], int, int, int)':
main.cpp:33:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (y - 1 >= 1 and (a[x][y - 1] == 0 or a[x][y-1]==-1))
^~
main.cpp:35:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (y + 1 <= N and (a[x][y + 1] == 0 or a[x][y + 1]==-1))
^~
main.cpp: In function 'int main()':
main.cpp:42:49: warning: unused variable 'j' [-Wunused-variable]
int N, M, a[400][400] = {}, xs, ys, xi, yi, i, j, x, y;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 786kb | Incorect | 0 |
| 2 | 3ms | 786kb | Incorect | 0 |
| 3 | 3ms | 786kb | Incorect | 0 |
| 4 | 3ms | 786kb | Incorect | 0 |
| 5 | 3ms | 786kb | Incorect | 0 |
| 6 | 3ms | 786kb | Incorect | 0 |
| 7 | 3ms | 786kb | Incorect | 0 |
| 8 | 3ms | 786kb | Incorect | 0 |
| 9 | 3ms | 786kb | Incorect | 0 |
| 10 | 3ms | 786kb | Incorect | 0 |
| Punctaj total | 0 |