Skip to content

Commit 7e7ba4a

Browse files
committed
Update design-tic-tac-toe.cpp
1 parent 87d8046 commit 7e7ba4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/design-tic-tac-toe.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TicTacToe {
2222
if (row == col) {
2323
++diagonal_[i];
2424
}
25-
if (col == rows_.size() - row - 1) {
25+
if (col == rows_.size() - row - 1) {
2626
++anti_diagonal_[i];
2727
}
2828
if (rows_[row][i] == rows_.size() ||

0 commit comments

Comments
 (0)