A $5 \times 5$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Xem đáp án và lời giải
Đáp án: $13$
Bảng $5 \times 5$ có $25$ ô, số ô màu cam là $\lceil 25 / 2 \rceil = 13$.
A $5 \times 5$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Xem đáp án và lời giải
Đáp án: $13$
Bảng $5 \times 5$ có $25$ ô, số ô màu cam là $\lceil 25 / 2 \rceil = 13$.
A $5 \times 5$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Xem đáp án và lời giải
Đáp án: $13$
Bảng $5 \times 5$ có $25$ ô, số ô màu cam là $\lceil 25 / 2 \rceil = 13$.
Mia has $5$ different shirts, $5$ pairs of socks, and $2$ different crowns. How many different outfits (1 shirt, 1 pair of socks, 1 crown) can she choose?
A full binary tree has $1$ root at level $0$, $2$ nodes at level $1$, and doubles at every next level. How many nodes are there in total from level $0$ to level $5$?
Xem đáp án và lời giải
Đáp án: $63$
Tổng số nút là $1 + 2 + 4 + \cdots + 2^{5} = 2^{6} - 1 = 63$.
Mia has $3$ different shirts, $5$ pairs of socks, and $2$ different crowns. How many different outfits (1 shirt, 1 pair of socks, 1 crown) can she choose?
A full binary tree has $1$ root at level $0$, $2$ nodes at level $1$, and doubles at every next level. How many nodes are there in total from level $0$ to level $4$?
Xem đáp án và lời giải
Đáp án: $31$
Tổng số nút là $1 + 2 + 4 + \cdots + 2^{4} = 2^{5} - 1 = 31$.