Borderou de evaluare (job #2224022)

Utilizator Iulia25Hosu Iulia Iulia25 Data 22 iulie 2018 15:18:41
Problema Verlab Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void rezolva()’: user.cpp:54:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (i == 1 && !(m[i][j] & 8) || i == r && !(m[i][j] & 2) ~~~~~~~^~~~~~~~~~~~~~~~~ user.cpp:55:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || j == 1 && !(m[i][j] & 1) || j == c && !(m[i][j] & 4) ~~~~~~~^~~~~~~~~~~~~~~~~ user.cpp:55:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || j == 1 && !(m[i][j] & 1) || j == c && !(m[i][j] & 4) ~~~~~~~^~~~~~~~~~~~~~~~~ user.cpp:56:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || (m[i][j] & 1) && (m[i][j - 1] & 4) || (m[i][j] & 8) && (m[i - 1][j] & 2)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ user.cpp:56:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || (m[i][j] & 1) && (m[i][j - 1] & 4) || (m[i][j] & 8) && (m[i - 1][j] & 2)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1396kbIncorect0
Punctaj total0

Ceva nu functioneaza?