Borderou de evaluare (job #2829390)

Utilizator cyg_dragos10Ivan Dragos cyg_dragos10 Data 8 ianuarie 2022 16:13:00
Problema Insule Status done
Runda oji_clasa10_2019_2016..... Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void fill(int, int)': main.cpp:24:22: warning: self-comparison always evaluates to true [-Wtautological-compare] 24 | if(mat[x][y] == mat[x][y] && ins[x][y] == 0) | ~~~~~~~~~ ^~ ~~~~~~~~~ main.cpp: In function 'int bfs()': main.cpp:39:26: warning: self-comparison always evaluates to true [-Wtautological-compare] 39 | if(mat[x][y] == mat[x][y] && mat[x][y] == 0 && viz[x][y] == 0) | ~~~~~~~~~ ^~ ~~~~~~~~~ main.cpp:50:1: warning: control reaches end of non-void function [-Wreturn-type] 50 | } | ^ main.cpp: In function 'void fill(int, int)': main.cpp:23:27: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 23 | int x = x + dx[i],y = y + dy[i]; | ^ main.cpp:23:13: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 23 | int x = x + dx[i],y = y + dy[i]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 110
22ms184kbKilled by Signal 110
32ms184kbKilled by Signal 110
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 110
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 110
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?