2022 Introduction to Competitive Programming
2022 / 2 / 23
Competitive Programming
- Given well-known computer science problems, solve
them as fast as possible
- Using Data Structure and Algorithm Solving them
- Teamwork
contests
annual team contest
- ICPC (International Collegiate Programming Contest)
- for college students
- most prestigious programming contest in the world.
- NCPC (National Collegiate Programming Contest)
annual personal contest
- GCJ (Google Code Jam)
- FHC (Facebook Hacker Cup)
- TCO (Topcoder Open)
daily training contest
practice
solving more problems


practice
participate more daily contest

Course
-
Tree
- Lowest Common Ancestor
- DP on Tree
- DSU on Tree
- Heavy-Light Decomposition
-
Graph
- Topological Sort
- SCC/BCC
- 2-SAT
- Matching
- Flow
- Eulerian Path
-
String
-
Geometry
- Convex hull construction
- Sweep Line
-
Brute Force Search
- Backtracking
- Memory Search
- Meet In the Middle
-
Math
- Modulo Operation
- Modular Multiplicative Inverse
- Prime
-
Dynamic Programming
- DP on DAG
- Stack / Deque
- Bitmask DP
- 1D/1D Dynamic Programming
-
Data Structure
- Sparse Table
- Treap
- Persistent Data Structure
-
Square Algorithm
- Square Root Decomposition
- Mo's Algorithm
Competitive Programming 4
作者: Steven Halim, Felix Halim, Suhendry Effendy

算法競賽入門經典(第2版)
作者: 劉汝佳

Course Administration
Course Link
Lab location
Coach
Co-Coach
- 高程昱 (Discord: jakao#5434)
Teaching assistant
Score
- Homeworks (Solo)
- Mock Contests (Teams)
- Midterm Exam (Solo)
- Final Exam (Solo)
- Ocean Cup Programming Contest ?
- Bonus
Bonus
- CPE 3/22, 5/24
- 2% + 1% per solved problem
ITSA
- HP Code Wars ?
- 1% + 1% per solved problem
- Online judge contests(Codeforces, Atcoder, Codechef, Topcoder…)
- According to your participation times and contest performance
Faster typing
In ICPC、NCPC, you may bring 25 pages of codebook.
codebook
To solve easy problem quickly, capture the first blood!

2022 Introduction to Competitive Programming 2022 / 2 / 23
{"metaMigratedAt":"2023-06-16T20:03:41.242Z","metaMigratedFrom":"YAML","title":"2022 Introduction to Competitive Programming","breaks":true,"contributors":"[{\"id\":\"19f09ccf-6b99-452f-971f-955cfc1657f3\",\"add\":6079,\"del\":998}]","description":"2022 / 2 / 23"}