Tangram
Ghép 7 mảnh xoay & lật
Luyện tập / Chủ đề Logic · Tư duy
Bài tập suy luận logic, nhận diện quy luật, bài toán cân đo, câu đố chiến thuật và tư duy thuật toán.
Đăng nhập để lưu tiến độ và tích lũy điểm trên bảng xếp hạng.
A math competition starts at $8:30$ and lasts for $30$ minutes. At what time does it finish?
Đáp án: $9:00$
Cộng thêm $30$ phút vào $8:30$ ta được $9:00$.
A farmyard has only chickens and rabbits. Together they have $17$ heads and $52$ legs. How many rabbits are there?
Đáp án: $9$
Giả sử tất cả là gà thì có $2 \times 17 = 34$ chân. Số chân dư là $52 - 34 = 18$, nên số thỏ là $18 : 2 = 9$.
The clock shows the current time (9:30). What time will it be after 55 minutes? (Write in H:MM format)
Đáp án: $10:25$
Adding $55$ minutes to $9:30$ gives $10:25$.
If today is Sunday, what day of the week will it be 31 days from today?
Đáp án: Wednesday
Since $31 \equiv 3 \pmod 7$, advancing $3$ days from Sunday gives Wednesday.
The clock shows the current time (10:20). What time will it be after 55 minutes? (Write in H:MM format)
Đáp án: $11:15$
Adding $55$ minutes to $10:20$ gives $11:15$.
If today is Thursday, what day of the week will it be 32 days from today?
Đáp án: Monday
Since $32 \equiv 4 \pmod 7$, advancing $4$ days from Thursday gives Monday.
The clock shows the current time (1:30). What time will it be after 55 minutes? (Write in H:MM format)
Đáp án: $2:25$
Adding $55$ minutes to $1:30$ gives $2:25$.
If today is Thursday, what day of the week will it be 56 days from today?
Đáp án: Thursday
Since $56 \equiv 0 \pmod 7$, advancing $0$ days from Thursday gives Thursday.
[Part C · Hard] A secret stamp machine encodes shapes into letters using this table:
| Shape | Code |
|---|---|
| Circle (Tròn) | K |
| Square (Vuông) | M |
| Star (Sao) | P |
| Heart (Tim) | T |
Also, whenever two identical shapes stand next to each other, the machine writes 2 followed by one letter (for example, Star, Star becomes 2P). What code does the machine write for: Circle, Star, Star, Square, Square, Heart?
| Shape | Code |
|---|---|
| Circle (Tròn) | K |
| Square (Vuông) | M |
| Star (Sao) | P |
| Heart (Tim) | T |
Một cỗ máy đóng dấu mã hóa các hình thành chữ cái theo bảng trên. Ngoài ra, hễ có hai hình giống hệt nhau đứng liền nhau, máy sẽ viết số 2 đứng trước chữ cái của hình đó (ví dụ Sao, Sao được viết gọn thành 2P). Hỏi dãy hình Tròn, Sao, Sao, Vuông, Vuông, Tim được mã hóa thành chuỗi nào?
Đáp án: K2P2MT
Answer / Đáp án: K2P2MT
Step-by-step (EN): Break the sequence into runs of identical shapes: Circle $\to$ K; Star, Star $\to$ 2P; Square, Square $\to$ 2M; Heart $\to$ T. Joining them gives K2P2MT.
Giải chi tiết (VI): Tách dãy theo từng cụm hình liên tiếp giống nhau: Tròn $\to$ K; Sao, Sao $\to$ 2P; Vuông, Vuông $\to$ 2M; Tim $\to$ T. Ghép lại được K2P2MT.
Computational Thinking / Tư duy Máy tính: Run-Length Encoding — RLE (Nén dữ liệu theo độ dài chuỗi lặp).
[Part C · Hard] Five cards numbered 3, 1, 4, 2, 5 lie in a row from left to right. In one move, you may swap any two adjacent cards (two cards standing right next to each other). What is the minimum number of swaps needed to sort the row into 1, 2, 3, 4, 5?
Năm tấm thẻ ghi số 3, 1, 4, 2, 5 xếp thành một hàng ngang từ trái sang phải. Mỗi bước, em được phép đổi chỗ hai tấm thẻ đứng kề sát nhau. Hỏi cần ít nhất bao nhiêu lần đổi chỗ để sắp lại dãy thẻ thành thứ tự tăng dần 1, 2, 3, 4, 5? (Chỉ điền số)
Đáp án: $3$
Answer / Đáp án: 3
Step-by-step (EN): Count out-of-order pairs (inversions): (3,1), (3,2), and (4,2) — $3$ inversions. Each adjacent swap fixes at most $1$ inversion. Swapping (3,1) $\to$ 1,3,4,2,5, then (4,2) $\to$ 1,3,2,4,5, then (3,2) $\to$ 1,2,3,4,5 sorts the cards in $3$ swaps.
Giải chi tiết (VI): Có đúng $3$ cặp số đang đứng ngược thứ tự: (3,1), (3,2) và (4,2). Mỗi phép đổi chỗ hai thẻ kề nhau giảm tối đa $1$ cặp ngược. Thực hiện: đổi (3,1) $\to$ 1,3,4,2,5; đổi (4,2) $\to$ 1,3,2,4,5; đổi (3,2) $\to$ 1,2,3,4,5 hết đúng $3$ lần.
Computational Thinking / Tư duy Máy tính: Bubble Sort & Inversion Count (Sắp xếp nổi bọt & Đếm số nghịch thế).
A robot has one of 6 secret codes. Each yes/no question can separate the remaining codes into any two groups. What is the fewest questions that always identify the code?
Đáp án: $3$
Sau k câu hỏi có nhiều nhất 2^k chuỗi câu trả lời. Chọn k nhỏ nhất sao cho 2^k ≥ 6, rồi chia đôi tập mã ở mỗi bước.
A file stores this row of pixels: ####...#. It writes two symbols per uninterrupted run: its count and its color. How many symbols does it write?
Đáp án: $6$
Có ba đoạn liên tiếp cùng màu. Mỗi đoạn dùng hai ký hiệu, tổng cộng sáu ký hiệu.
In schedule #1, four independent jobs take 4, 5, 6, 4 minutes. With $2$ identical workers working in parallel (each job runs on $1$ worker without interruption), what is the minimum total time to finish all $4$ jobs?
Đáp án: $10$
Chia tối ưu thành 2 nhóm có thời gian gần nhau nhất, thời gian hoàn thành ngắn nhất là $10$ phút.
Cipher #1 shifts every letter forward by $4$ positions in the alphabet (A→E, B→F, ...). How is BEE encrypted?
Đáp án: FII
Dịch mỗi chữ cái tiến $4$ bước thu được FII.
A robot starts facing North and executes Turn Right 90° exactly $16$ times. Which direction is it facing at the end?
Đáp án: North
Sau mỗi $4$ lần quay $90^\circ$ robot lại hướng North. Vì $16 : 4$ dư $0$, robot hướng North.