Feb 18, 2025
CS 41100, Competitive Programming III (Spring 2025)
Course Information
Contact Information
Instructor
- Name: Zhongtang Luo
- E-mail: luo401@purdue.edu
- Office Hours: Monday 1:00 pm–3:00 pm at DSAI B022 or by appointment
Teaching Assistant
- Name: Thomas Marlowe
- E-mail: marlowe@purdue.edu
- Office Hours: Monday 1:30 pm–3:00 pm, Friday 3:00 pm–5:00 pm at DSAI B022
- Name: Egor Gagushin
- E-mail: egagushi@purdue.edu
- Office Hours: Thursday 3:30 pm–5:30 pm at DSAI B022
Course Sign-up
Please follow the procedure and fill out this form here, so we can keep track of your progress: https://forms.gle/JRppvD7SsaVCQ6M18.
Resources
- Topic 0: Introduction, Implementation
- Upsolve Deadline: Mon Jan 20, 2024 23:59 pm
- Review the syllabus.
- Review computational geometry from CP2.
- Review the basic concepts and get familiar with the reference codebase.
- Review convex hull (if you have time).
- Get ready for some implementation tasks.
- During my college years we had an activity called 'ICPC Ranking Speedrun'. We would code this problem titled 'ICPC Ranking' and see who got accepted the fastest. You may try it during your spare time to see how fast you can get.
- A few of my write-ups on how to improve:
- A few examples on constant optimization:
- Topic 1: Geometry: Review, Half-plane Intersection, Adaptive Simpson
- Topic 2: Combinatorics: Review, Linear Recurrence
- Upsolve Deadline: Mon Feb 3, 2024 23:59 pm
- There is much theory online. Feel free to read through them if interested, but in my opinion, the important point in CP is still to come up with a formula fast rather than know a bunch of formulae.
- Binary Exponentiation (and some of its application): https://cp-algorithms.com/algebra/binary-exp.html
- Next week is going to be difficult. It will be helpful to review these concepts first.
- Topic 3: Range Query: Review, Segment Tree Hard
- Topic 4: Monotonicity: DP Review, Optimization
- Topic 5: Tree: Review, LCA, HLD
- Topic 6: Game Theory: SG Function, Search
- Upsolve Deadline: Mon Mar 3, 2024 23:59 pm
- Topic 7: Network Flow: Min Cut, Min Cost
- Upsolve Deadline: Mon Mar 10, 2024 23:59 pm
- Topic 8: Fast Fourier Transform
- Upsolve Deadline: Mon Mar 24, 2024 23:59 pm
- Topic 9: String: KMP, AC Automata
- Upsolve Deadline: Mon Mar 31, 2024 23:59 pm
- Topic 10: Offline: CDQ, Mo's Algorithm
- Upsolve Deadline: Mon Apr 7, 2024 23:59 pm
- Topic 11: Final Contest
- Upsolve Deadline: Mon Apr 14, 2024 23:59 pm