Bộ bài tập tự sinh (10 câu · Suy luận logic, Thứ tự & Tập hợp)
Mã đề: 95790394 · Khớp 29 mẫu bài trong thư viện.
The integers $1, 2, 3, \dots, 13$ are written on a board. In each step, you erase any two numbers $a$ and $b$ and write $a + b - 1$. After $12$ steps, only $1$ number remains. What is that final number?
Xem đáp án và lời giải
Đáp án: $79$
Mỗi bước tổng các số giảm đi $1$. Sau $12$ bước, số cuối cùng bằng $(1 + 2 + \cdots + 13) - (13 - 1) = 91 - 12 = 79$.
$8$ islanders (each either a Knight who always tells the truth or a Knave who always lies) sit around a circular table. Every islander says: “The person sitting immediately to my left (clockwise) is a Knave.” How many Knights are at the table?
Xem đáp án và lời giải
Đáp án: $4$
Hiệp sĩ ngồi cạnh Kẻ gian (nói thật), còn Kẻ gian không thể ngồi cạnh Kẻ gian khác (nếu không lời nói sẽ thành thật). Vậy Hiệp sĩ và Kẻ gian ngồi xen kẽ nhau quanh bàn, nên có đúng $8 : 2 = 4$ Hiệp sĩ.
Four dominoes are placed in a chain so touching halves have equal dots: $[6|\,6]$–$[6|\,x]$–$[x|\,3]$–$[3|\,5]$. If the total number of dots on all four dominoes is $41$, what is $x$?
Xem đáp án và lời giải
Đáp án: $6$
Tổng các chấm đã biết là $6 + 2(6) + 2(3) + 5 = 29$, nên $2x = 12 \Rightarrow x = 6$.
A wheel map has $1$ central region surrounded by a ring of $4$ outer regions (each outer region touches the center and its $2$ neighboring outer regions). What is the minimum number of colors needed so that no two touching regions share the same color?
Xem đáp án và lời giải
Đáp án: $3$
Vùng tâm dùng $1$ màu riêng. Vòng ngoài gồm $4$ vùng cần xen kẽ $2$ màu nếu $4$ chẵn (tổng $3$ màu) và $3$ màu nếu $4$ lẻ (tổng $4$ màu). Vậy cần ít nhất $3$ màu.
Question 5
Trung bình · +20 điểm
One-way roads connect towns with travel times: $A\to B$ ($4$ min), $B\to C$ ($8$ min), $A\to C$ ($14$ min), $B\to D$ ($10$ min), and $C\to D$ ($4$ min). What is the shortest time (in minutes) to go from $A$ to $D$?
Xem đáp án và lời giải
Đáp án: $14$
So sánh $3$ lộ trình từ $A$ đến $D$:
- $A\to B\to C\to D$: $16$
- $A\to B\to D$: $14$
- $A\to C\to D$: $18$
Đường ngắn nhất mất $14$ phút.
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 $4, 1$ and column $4$ already has $2$ outside row $1$. What digit MUST go in row $1$, column $4$?
Xem đáp án và lời giải
Đáp án: $3$
Hàng $1$ đã có $4, 1$ và cột $4$ đã có $2$, nên ô giao nhau chỉ có thể là chữ số còn lại là $3$.
Question 7
Trung bình · +20 điểm
$1$ melon weighs as much as $3$ apples, and $1$ apple weighs as much as $2$ strawberries. If $1$ strawberry weighs $5\text{ g}$, how many grams does $1$ melon weigh?
Xem đáp án và lời giải
Đáp án: $30$
$1$ quả dưa nặng bằng $3 \times 2 = 6$ quả dâu, tức là $6 \times 5 = 30\text{ g}$.
In a game of Nim, there are three piles with $6$, $9$, and $21$ 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 $21$ to reach a winning Nim-sum ($0$) position?
Xem đáp án và lời giải
Đáp án: $6$
Tính tổng XOR hai đống đầu: $6 \oplus 9 = 15$. Cần giảm đống $21$ xuống còn $15$, tức là bốc đi $21 - 15 = 6$ viên.
To detect transmission errors, a computer appends $1$ parity bit to the $6$-bit code 111010 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: $4$
Chuỗi ban đầu có $4$ bit $1$. Sau khi thêm bit kiểm tra $0$, tổng số bit $1$ chẵn là $4$.
Question 10
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 $5$ positions, wrapping around after $26$ back to $1$. What position number does letter #22 shift to?
Xem đáp án và lời giải
Đáp án: $1$
Ta có $22 + 5 = 27$. Vì vượt quá $26$, quay vòng trừ đi $26$ được $1$.