LỘ TRÌNH LUYỆN TẬP

Prefix Sum — Tổng tiền tố

7 phần 220 bài tập Hư không

Login to join training plan

Theory & guideOpen when needed; collapse to focus on practice
Open the guide to read it.Open complete view

Practice sections

Open a section to see its problems
Plan contents7
2

Tích lũy tĩnh

Open
31 problems0% completed
Stage completion+2Spirit StoneLesser 0/31 Focus 0/6+60 silver
ProblemTriedACDifficulty
PS0000001Tổng đoạn tĩnh (Static Range Sum Queries) Focus problem+10 silver Nắm công thức tổng đoạn từ hai tiền tố, quy ước P[0] và nguy cơ tràn số. 33 1
PS0000101Tổng đoạn trên mảng bất biến (Range Sum Query - Immutable) 31 1
PS0000102Truy vấn tổng tích lũy (Cumulative Sum Query) 00 1
PS0000002Những viên đá của Kuriyama Mirai (Kuriyama Mirai's Stones) 32 1
PS0000104Hàng rào (Fence) Focus problem+10 silver So sánh các đoạn cùng độ dài và nhận biết nhiều đáp án tối ưu đều hợp lệ. 00 1
PS0000105Tổng của các tổng đoạn (Sum of Sums) 00 1
PS0000003Ilya và các truy vấn (Ilya and Queries) Focus problem+10 silver Chuyển điều kiện trên hai ký tự kề nhau thành dãy đếm; xử lý đúng biên trái của cặp. 22 1
PS0000004Đếm chuỗi AC (GeT AC) 32 10
PS0000108Đếm giống bò (Breed Counting) Focus problem+10 silver Dùng nhiều bảng tiền tố để trả lời riêng từng nhóm giá trị. 00 1
FT0000093Băng qua đường không giao nhau II (Why Did the Cow Cross the Road II) 00 1
PS0000110Truy vấn tổng lẻ (Odd Queries) 00 1
PS0000111Đĩa giữa những ngọn nến (Plates Between Candles) 00 1
SP0000054Số giống 2017 (2017-like Number) 00 3
PS0000113Bài kiểm tra dịch chuyển (Practical Skill Test) 00 1
PS0000006Truy vấn XOR đoạn (Range Xor Queries) Focus problem+10 silver Hiểu vì sao XOR có thể loại bỏ phần tiền tố chung, tương tự tổng nhưng khác phép toán. 11 1
PS0000115XOR các đoạn con (XOR Queries of a Subarray) 00 1
PS0000116Dãy tổng tích lũy (Running Sum of 1d Array) 00 1
PS0000117Tìm vị trí cân bằng (Find Pivot Index) Focus problem+10 silver Tách tổng trái và tổng phải; xử lý hai phía rỗng và chỉ số bắt đầu từ 0. 00 1
PS0000118Tìm chỉ số giữa cân bằng (Find the Middle Index in Array) 00 1
PS0000119Độ cao lớn nhất (Find the Highest Altitude) 00 1
3

Đoạn con là cặp tiền tố

Open
37 problems0% completed
Stage completion+3Spirit StoneLesser 0/37 Focus 0/7+85 silver
Open this section to see its problems.Open complete view
4

Cực trị, độ dài và bất đẳng thức

Open
40 problems0% completed
Stage completion+3Spirit StoneLesser 0/40 Focus 0/7+90 silver
Open this section to see its problems.Open complete view
5

Tiền tố đa chiều

Open
30 problems0% completed
Stage completion+4Spirit StoneLesser 0/30 Focus 0/6+60 silver
Open this section to see its problems.Open complete view
6

Sai phân, Imos

Open
37 problems0% completed
Stage completion+4Spirit StoneLesser 0/37 Focus 0/7+70 silver
Open this section to see its problems.Open complete view
7

Trọng số và chu kỳ

Open
20 problems0% completed
Stage completion+4Spirit StoneLesser 0/20 Focus 0/7+70 silver
Open this section to see its problems.Open complete view
8

Cây và giới hạn dữ liệu động

Open
25 problems0% completed
Stage completion+5Spirit StoneLesser 0/25 Focus 0/7+155 silver
Open this section to see its problems.Open complete view