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 bracelet repeats the 4-bead pattern (Orange circle, White circle, Square, Triangle) in order. What will the 75th bead be?
Đáp án: Square
Dividing $75$ by $4$ leaves remainder $3$ (where remainder $0$ corresponds to the 4th bead), giving Square.
Emma lays $2$ separate ribbons side-by-side and makes $19$ straight cuts, where each cut slices through one ribbon at a time. How many pieces of ribbon are there at the end?
Đáp án: $21$
Starting with $2$ piece(s), each single cut increases the total piece count by $1$, giving $2 + 19 = 21$ pieces.
A bracelet repeats the 4-bead pattern (Orange circle, White circle, Square, Triangle) in order. What will the 85th bead be?
Đáp án: Orange circle
Dividing $85$ by $4$ leaves remainder $1$ (where remainder $0$ corresponds to the 4th bead), giving Orange circle.
A single long ribbon is cut $19$ times (each cut goes completely through at a new spot). How many pieces of ribbon are there now?
Đáp án: $20$
Starting with $1$ piece(s), each single cut increases the total piece count by $1$, giving $1 + 19 = 20$ pieces.
A bracelet repeats the 3-bead pattern (Orange circle, White circle, Square) in order. What will the 52th bead be?
Đáp án: Orange circle
Dividing $52$ by $3$ leaves remainder $1$ (where remainder $0$ corresponds to the 3th bead), giving Orange circle.
Emma lays $3$ separate ribbons side-by-side and makes $13$ straight cuts, where each cut slices through one ribbon at a time. How many pieces of ribbon are there at the end?
Đáp án: $16$
Starting with $3$ piece(s), each single cut increases the total piece count by $1$, giving $3 + 13 = 16$ pieces.
A dark bag contains $16$ small red, $17$ small black, $14$ large black, and $14$ large red T-shirts. What is the least number of T-shirts you must pull out without looking to guarantee getting at least one red and one black T-shirt of the SAME size?
Đáp án: $32$
Trường hợp xấu nhất lấy hết các tổ hợp không tạo thành cặp đỏ–đen cùng cỡ: $\max(16+14,\; 17+14,\; 16+14,\; 17+14) = 31$ chiếc. Lấy thêm $1$ chiếc nữa ($32$ chiếc) chắc chắn có $1$ áo đỏ và $1$ áo đen cùng cỡ.
Exactly one of Anna, Leo, and Lily ate the last cupcake, and exactly one of them is telling the truth:
Who ate the cupcake?
Đáp án: Lily
In a class of $58$ students, $33$ like Math, $32$ like English, and $2$ like neither. How many students like both Math and English?
Đáp án: $9$
Số học sinh thích ít nhất một môn là $58 - 2 = 56$. Theo công thức bù trừ: $33 + 32 - (56) = 9$.
[Part B · Medium] A lexical scanner starts at S0 and reads the character stream a a b b a a b from left to right. In which state does the scanner finish?
Một bộ quét từ vựng bắt đầu ở trạng thái S0 và đọc lần lượt chuỗi ký tự a a b b a a b từ trái sang phải. Sau khi đọc hết chuỗi, máy dừng ở trạng thái nào?
Đáp án: S0
Answer / Đáp án: S0
Step-by-step (EN): Trace step by step: S0 $\xrightarrow{a}$ S1 $\xrightarrow{a}$ S1 $\xrightarrow{b}$ S3 $\xrightarrow{b}$ S3 $\xrightarrow{a}$ S2 $\xrightarrow{a}$ S2 $\xrightarrow{b}$ S0.
Giải chi tiết (VI): Truy vết từng ký tự: S0 $\xrightarrow{a}$ S1 $\xrightarrow{a}$ S1 $\xrightarrow{b}$ S3 $\xrightarrow{b}$ S3 $\xrightarrow{a}$ S2 $\xrightarrow{a}$ S2 $\xrightarrow{b}$ S0.
Computational Thinking / Tư duy Máy tính: State Transition Simulation (Mô phỏng máy trạng thái hữu hạn).
[Part B · Medium] A video rendering pipeline consists of $5$ stages (T1–T5) with durations in minutes (m) and dependency arrows shown. Unlimited CPU cores are available for parallel execution. What is the earliest completion time (in minutes) of T5?
Quy trình dựng phim gồm $5$ công đoạn (T1–T5) với thời lượng (phút) và mũi tên phụ thuộc như hình vẽ (có đủ nhân CPU để chạy song song các việc độc lập). Thời điểm hoàn thành sớm nhất (tính bằng phút) của toàn bộ quy trình là bao nhiêu? (Chỉ điền số)
Đáp án: $16$
Answer / Đáp án: 16
Step-by-step (EN): Earliest finish times (EFT):
EFT(T1) = 5, EFT(T2) = 4EFT(T3) = EFT(T1) + 6 = 11EFT(T4) = max(EFT(T1), EFT(T2)) + 8 = max(5, 4) + 8 = 13EFT(T5) = max(EFT(T3), EFT(T4)) + 3 = max(11, 13) + 3 = 16 minutes.Giải chi tiết (VI): Tính thời điểm hoàn thành sớm nhất (EFT):
T1 xong lúc $5\text{m}$; T2 xong lúc $4\text{m}$.T3 chờ T1: xong lúc $5 + 6 = 11\text{m}$.T4 chờ cả T1 và T2: bắt đầu lúc $\max(5, 4) = 5\text{m}$, xong lúc $5 + 8 = 13\text{m}$.T5 chờ cả T3 và T4: bắt đầu lúc $\max(11, 13) = 13\text{m}$, xong lúc $13 + 3 = 16$ phút.Computational Thinking / Tư duy Máy tính: DAG Scheduling & Critical Path T1 -> T4 -> T5 (Phân tích đường găng).
Four parcels are stacked from bottom to top: red, yellow, green, blue. You may remove only the top parcel. Which parcel is removed second?
Đáp án: green
Lấy theo thứ tự từ trên xuống. Gói đầu là blue, gói thứ hai là green.
A robot team must photograph a sign (6 minutes), scan a ticket (3 minutes), then send the completed report (2 minutes). The first two jobs can run at the same time. When is the earliest report ready?
Đáp án: $8$
Chờ cả hai việc đầu hoàn tất, tức 6 phút, rồi cộng thêm 2 phút gửi báo cáo.
A drawing robot repeats this instruction 6 times: move 3 squares east, then move 2 squares west. How far east of its start does it stop?
Đáp án: $6$
Nếu mỗi vòng đi 3 ô về đông rồi 2 ô về tây, độ dời là 1 ô về đông. Lặp 6 vòng.
A robot has one of 22 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: $5$
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 ≥ 22, rồi chia đôi tập mã ở mỗi bước.