← 返回資訊

Past Papers Revision Guide: Preparing with HKOI Heat and Final Papers

Direct links to the last six years of HKOI heat and final papers, plus an eight-week revision plan and exam technique tips.

1. Official resources

The official past problems page lists every heat and final paper since 1997, with answer sheets and official solutions, all free to download.

Below are direct links for the last six years (official PDFs, mostly bilingual). For older years use the official page.

2. Heat (multiple choice) - last six years

A sample paper is also available for first-time candidates.

3. Final (programming) - last six years

Note: the 2019/20 final papers were not published; 2009 and earlier are mostly .doc files, available on the official page.

4. Eight-week revision plan

  • Week 1: take the latest year (2025/26) as a timed mock, then record your score and error types as a baseline.
  • Week 2: group your mistakes by topic (code tracing, recursion, data structures, algorithm design, maths).
  • Week 3: redo the past three years of your two weakest topics and compare with the official solutions immediately.
  • Week 4: work through all junior papers; if you are already comfortable, move straight to senior papers.
  • Week 5: do the last five senior papers under timed conditions to practise time allocation.
  • Week 6: attempt final papers from oldest to newest; think for 20 minutes before reading the solution.
  • Week 7: only redo the problems in your error log until the same mistakes stop happening.
  • Week 8: two full mock exams (paper, timed, closed book) to settle your pacing.

5. Heat paper technique

  • Spend the first minute scanning the whole paper and mark questions as must-score or needs-thought.
  • When unsure on a multiple-choice item, eliminate obviously wrong options first.
  • For code tracing, draw a variable table row by row instead of doing it in your head.
  • For recursion, expand three levels up from the base case or draw the call tree.
  • For complexity questions, count the loops and their bounds before estimating the order.
  • Every question carries marks - do not spend more than 3 minutes stuck on one.

6. Final paper technique

  • Read all problems in the first 5 minutes and decide the order (easier first).
  • Write a brute-force solution first to secure partial marks, then optimise.
  • Watch the constraints: n <= 1000 usually allows O(n^2); n <= 2x10^5 calls for O(n log n).
  • Test with the official samples and your own edge cases (n = 1, all equal, maximum values).
  • Keep 20 minutes at the end to check input/output format, array sizes and overflow.

7. Keep an error log

For each mistake record four things: year and question number, what you were thinking, the key step you missed, and one sentence to remember next time. Review it weekly - it beats doing ten more papers.

8. Practice resources

Practise by difficulty in the HKOJ problem library. For more problems, see the practice platforms listed in our footer (Codeforces, AtCoder, Luogu, CSES and more).