Borderou de evaluare (job #2595994)

Utilizator CosminSemSemenciuc Cosmin CosminSem Data 8 aprilie 2020 21:50:29
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
13ms786kbIncorect0
23ms786kbIncorect0
33ms786kbIncorect0
43ms786kbIncorect0
53ms786kbIncorect0
63ms786kbIncorect0
73ms786kbIncorect0
83ms786kbIncorect0
93ms786kbIncorect0
103ms786kbIncorect0
Punctaj total0

Ceva nu functioneaza?