In a game of Nim, there are three piles with $3$, $8$, and $15$ stones. On your turn, you may remove any positive number of stones from a single pile (the player taking the last stone wins). How many stones must you remove from the pile of $15$ to reach a winning Nim-sum ($0$) position?
Xem đáp án và lời giải
Đáp án: $4$
Tính tổng XOR hai đống đầu: $3 \oplus 8 = 11$. Cần giảm đống $15$ xuống còn $11$, tức là bốc đi $15 - 11 = 4$ viên.
Question 2
Dễ · +10 điểm
To detect transmission errors, a computer appends $1$ parity bit to the $6$-bit code 001100 so that the total number of $1$s in the $7$-bit code is even. What is the total number of $1$s in the final $7$-bit code?
Xem đáp án và lời giải
Đáp án: $2$
Chuỗi ban đầu có $2$ bit $1$. Sau khi thêm bit kiểm tra $0$, tổng số bit $1$ chẵn là $2$.
Question 3
Trung bình · +20 điểm
Given binary inputs $A = 1, B = 0, C = 1, D = 1$, evaluate the four logic gates:
$G_1 = A \text{ AND } B$
$G_2 = C \text{ OR } D$
$G_3 = A \text{ XOR } C$
$G_4 = B \text{ XOR } D$
How many of these four gates output $1$?
Xem đáp án và lời giải
Đáp án: $2$
Tính từng cổng: $G_1 = 0, G_2 = 1, G_3 = 0, G_4 = 1$. Tổng số cổng có đầu ra $1$ là $2$.
Question 4
Khó · +30 điểm
In a survey of students who play at least one sport: $14$ play Soccer, $18$ play Basketball, $14$ play Tennis; $5$ play Soccer & Basketball, $6$ play Basketball & Tennis, $4$ play Soccer & Tennis, and $2$ play all three. How many students are in the survey in total?
Xem đáp án và lời giải
Đáp án: $33$
Theo công thức bù trừ $3$ tập hợp: $14 + 18 + 14 - (5 + 6 + 4) + 2 = 33$.
Question 5
Trung bình · +20 điểm
I am an odd $2$-digit multiple of $15$ strictly between $35$ and $55$. What number am I?
Xem đáp án và lời giải
Đáp án: $45$
Các bội lẻ của $15$ là $15, 45, 75$. Trong khoảng $(35, 55)$ chỉ có $45$.
Question 6
Khó · +30 điểm
A pile has $28$ coins. Two players take turns removing $1$ to $4$ coins, and the player forced to take the last coin LOSES. How many coins should the first player take on move $1$ to leave a winning remainder ($\equiv 1 \pmod{5}$)?
Xem đáp án và lời giải
Đáp án: $2$
Muốn đối thủ bốc viên cuối, cần đưa tổng về dạng $(5)m + 1$. Ta có $28 - 2 = 26 \equiv 1 \pmod{5}$, nên bốc $2$ đồng xu.
Question 7
Dễ · +10 điểm
In a $4 \times 4$ mini-Sudoku (using digits $1, 2, 3, 4$ once per row, column, and $2 \times 2$ box), row $1$ already has $1, 2$ and column $4$ already has $3$ outside row $1$. What digit MUST go in row $1$, column $4$?
Xem đáp án và lời giải
Đáp án: $4$
Hàng $1$ đã có $1, 2$ và cột $4$ đã có $3$, nên ô giao nhau chỉ có thể là chữ số còn lại là $4$.
Question 8
Trung bình · +20 điểm
Letters $A$–$Z$ are numbered $1$–$26$ ($A=1, \dots, Z=26$). A Caesar cipher shifts every letter forward by $12$ positions, wrapping around after $26$ back to $1$. What position number does letter #20 shift to?
Xem đáp án và lời giải
Đáp án: $6$
Ta có $20 + 12 = 32$. Vì vượt quá $26$, quay vòng trừ đi $26$ được $6$.
Question 9
Trung bình · +20 điểm
In a class of $40$ students, $20$ like Math, $22$ like English, and $4$ like neither. How many students like both Math and English?
Xem đáp án và lời giải
Đáp án: $6$
Số học sinh thích ít nhất một môn là $40 - 4 = 36$. Theo công thức bù trừ: $20 + 22 - (36) = 6$.
Question 10
Dễ · +10 điểm
Four dominoes are placed in a chain so touching halves have equal dots: $[1|\,2]$–$[2|\,x]$–$[x|\,5]$–$[5|\,2]$. If the total number of dots on all four dominoes is $23$, what is $x$?
Xem đáp án và lời giải
Đáp án: $3$
Tổng các chấm đã biết là $1 + 2(2) + 2(5) + 2 = 17$, nên $2x = 6 \Rightarrow x = 3$.
Câu đố tư duy
Rèn tư duy hình học và suy luận logic qua 5 loại câu đố tương tác trực quan.
Tuyển tập các câu đố kinh điển chọn lọc (không sinh lặp công nghiệp) kèm lời giải chi tiết bằng tiếng Việt. Mỗi đề thi ngẫu nhiên cũng được gắn 1 câu đố điểm nhấn trích từ bộ sưu tập này.