Borderou de evaluare (job #2442003)

Utilizator EndouStoica Darius Endou Data 22 iulie 2019 13:33:25
Problema Alee Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool Ok(int, int)': main.cpp:31:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(mat[i][j] = -1) ^ main.cpp: In function 'void Lee()': main.cpp:50:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Ok(i2, j2) && mat[i2][j2] < 1) ^~ main.cpp:52:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' coada.push(make_pair(i2, j2)); ^~~~~ main.cpp:40:13: warning: 'i' is used uninitialized in this function [-Wuninitialized] mat[i][j] = 1; ~~~~~~~~~~^~~ main.cpp:40:13: warning: 'j' is used uninitialized in this function [-Wuninitialized] main.cpp:48:26: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] i2 = i + dOx[directie]; ~~~~~~~~~~~~^ main.cpp:47:36: note: within this loop for(int directie = 1; directie <= 4; directie++){ ~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
129ms4751kbMemory limit exceeded0
229ms4751kbMemory limit exceeded0
329ms4751kbMemory limit exceeded0
435ms4751kbMemory limit exceeded0
529ms4751kbMemory limit exceeded0
635ms4751kbMemory limit exceeded0
74ms131kbKilled by Signal 110
829ms4751kbMemory limit exceeded0
936ms4751kbMemory limit exceeded0
1029ms4739kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?