Pagini recente » Borderou de evaluare (job #2005375) | Borderou de evaluare (job #105598) | Borderou de evaluare (job #1080848)
Borderou de evaluare (job #1080848)
Raport evaluator
Compilare:
user.cpp: In function ‘bool victory(short int, short int)’:
user.cpp:45: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(ttt, ttt)’:
user.cpp:92:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (b[1][1]==comp&&b[g][h]==space||b[1][1]==space&&b[g][h]==comp) fork++;
^
user.cpp:105:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (b[1][1]==player&&b[g][h]==space||b[1][1]==space&&b[g][h]==player) fork++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 384kb | Incorect | 0 |
Punctaj total | 0 |