HKJICPrepareFor competitors
How to prepare
What to practise, how to set up your laptop, and what to check the night before.
1What to practise
- Theory
- Reading short programs and working out what they do. The questions reward careful reasoning, not memorised facts.
- Problem A · Very Easy
- I/O, basic loops, simple conditions.
- Problem B · Easy
- Strings, arrays, simple simulation.
- Problem C · Medium
- Sorting, greedy, basic math.
- Problem D · Medium-Hard
- Two-pointer, hashing, basic DP.
- Problem E · Hard
- DP, graphs, clever insight.
- Samples
- Two theory questions and a Problem A, with answers and reference solutions, are on the sample questions page.
2Set up your laptop
- Language
- Choose C++, Python or Java, and install its compiler or interpreter.
- Test it
- Write a program that reads from standard input and prints to standard output, and run it. We cannot fix installations on the day.
- AI tools
- Turn off AI assistants and AI code completion such as Copilot before you arrive. Do not use an AI editor such as Cursor.
- Practice round
- A practice round opens on the judge before the competition. Use it to check your laptop, your compiler and how submitting works.
3The night before
- Charge
- Charge your laptop fully. Sockets are not guaranteed.
- Pack
- Laptop, pencil, eraser, photo ID. A charger if you like, but do not rely on one.
- Check
- Your confirmation email, for the check-in time and the room.
- Eat
- Eat before you come. Water is allowed at your desk. Food is not.
4In the contest
- Theory
- Answer every question. A wrong answer costs nothing.
- Subtasks
- Every subtask scores. If you cannot solve a problem in full, solve part of it.
- Submissions
- Your best submission counts, not your last. Submitting again cannot lower your score.
- Pace
- One submission per problem per minute. Test on the examples before you submit.
- No breaks
- Once a phase starts you cannot leave the room and come back. Use the toilet first.