Borderou de evaluare (job #1080911)
Raport evaluator
Compilare:
user.cpp: In function ‘bool victory(short int, short int)’:
user.cpp:42:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (b[x][0]==b[x][1]&&b[x][0]==b[x][2]||b[0][y]==b[1][y]&&b[0][y]==b[2][y]) return 1;
^
user.cpp: In function ‘void algorithm(char, char)’:
user.cpp:89:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (b[1][1]==comp&&b[g][h]=='.'||b[1][1]=='.'&&b[g][h]==comp) fork++;
^
user.cpp:102:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (b[1][1]==player&&b[g][h]=='.'||b[1][1]=='.'&&b[g][h]==player) fork++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 384kb | Incorect | 0 |
Punctaj total | 0 |