Đến nội dung chính
Canuc80kCP
Lộ trìnhBài tậpTài liệu
Lộ trình
B.1C++ TemplateB.2cin and coutB.3if and elseB.4for and whileB.5FunctionsB.6Arrays
0.1Brute Force0.2Ad Hoc0.3Prefix Sum0.4Sorting0.5Greedy0.6Binary Search0.7Two Pointers0.8Backtracking0.9Arithmetic0.10C++ STL
1.1Meet in the Middle1.2Divide and Conquer1.3Dynamic Programming1.4Digit DP1.5Bitwise Operations1.6Bitmask DP1.7Fenwick Tree1.8Segment Tree1.9Matrix Multiplication1.10Hashing
2.1Trie2.2KMP2.3Sparse Table2.4Disjoint Set Union2.5Sqrt Decomposition2.6Mo's Algorithm2.7Advanced DP2.8Bitset2.9Interactive Problems2.10Constructive Algorithms
3.1DFS and BFS3.2Euler Tour3.3Topological Sort3.4Rerooting DP3.5Shortest Paths3.6Binary Lifting3.7Lowest Common Ancestor3.8Minimum Spanning Tree3.9DFS Tree3.10Sweep Line
4.1Lexicographic DP4.2Divide and Conquer DP and Knuth4.3Convex Hull Trick4.4Open and Close Interval Trick4.5Broken Profile DP4.62D Fenwick Tree4.7SOS DP4.8Extended Euclidean Algorithm4.9Z Function4.10Network Flow
5.1Eulerian Path5.2Parallel Binary Search5.3Ad Hoc Game Theory5.4Sprague Grundy Theorem5.5Chinese Remainder Theorem5.6Probability5.7Randomized Algorithms5.8Ternary Search5.9Heavy Light Decomposition5.10Persistent Segment Tree
6.1CDQ Divide and Conquer6.2XOR Basis6.3Suffix Structures6.4Gaussian Elimination6.5Matching6.6Balanced Binary Search Tree6.7Segment Tree Beats6.8Centroid Decomposition6.9FFT and NTT6.10Geometry
7.1Möbius Function7.2Lagrange Interpolation7.3Advanced Math7.4Aho Corasick7.5Rollback7.6Li Chao Tree7.7Advanced Trees7.82-SAT7.9Aliens Trick7.10Slope Trick
Lộ trình/Basic/Bài B.5
Đăng nhập

Basic·Bài B.5

Functions

Bài họcBài tập 20
1
Hàm bình phươngcanucbasic4l01
LQDOJ
2
Hàm tính tổngcanucbasic4l02
LQDOJ
3
Hàm chọn số lớncanucbasic4l03
LQDOJ
4
Hàm kiểm tra chẵncanucbasic4l04
LQDOJ
5
Hàm in dòng saocanucbasic4l05
LQDOJ
6
Gọi hàm hai lầncanucbasic4l06
LQDOJ
7
Hàm tổng từ mộtcanucbasic4l07
LQDOJ
8
Hàm tổng chữ sốcanucbasic4l08
LQDOJ
9
Giữ số ban đầucanucbasic4l09
LQDOJ
10
Ghép hai hàmcanucbasic4l10
LQDOJ
11
Hàm chu vicanucbasic4e01
LQDOJ
12
Hàm nhỏ nhất trong bacanucbasic4e02
LQDOJ
13
Hàm khoảng cáchcanucbasic4e03
LQDOJ
14
Hàm lũy thừacanucbasic4e04
LQDOJ
15
Hàm đếm ướccanucbasic4e05
LQDOJ
16
Hàm kiểm tra nguyên tốcanucbasic4e06
LQDOJ
17
Hàm đảo sốcanucbasic4e07
LQDOJ
18
Hàm kiểm tra đối xứngcanucbasic4e08
LQDOJ
19
Tổng chữ số của hai sốcanucbasic4e09
LQDOJ
20
Hai dòng saocanucbasic4e10
LQDOJ
Bài B.4for and whileBài B.6 Arrays
Canuc80k CP
Bài tậpTài liệuGóp ýQuyền riêng tư