TRAIN / BASE / 01
Python for teens
Clean habits in the first language most students know.
Open the syllabusHong Kong · Informatics olympiad · HKOI
The official HKOI Training Team only opens its doors after the Final, and only to medallists. Most students who search for HKOI training are a step earlier: they want to reach the Final, or do well in it. That is the stretch we coach, live and one to one, in C++ and in English, with a mentor who reads every line your child writes.
Teaching since 2020 · 10,000+ students worldwide · Hong Kong classes are one to one, live and in English
In short
HKOI training, in the official sense, is the HKOI Training Team: free sessions by invitation for HKOI, HKGOI and SDIC medallists, run at City University of Hong Kong. Before a medal, students train on their own or with a coach. Modern Age Coders gives that coaching as live online classes in English, always one to one, for secondary students in Hong Kong: C++, the algorithms the HKOI syllabus lists, and Final-style tasks with subtasks, at hours your family chooses on Hong Kong time. We never promise a place, a medal or selection.
Courses for HKOI
Three courses cover nearly every HKOI student we meet: the contest course itself, the C++ course for those who have not yet moved over from Python, and a problem-solving course for younger secondary students who need the habits before the algorithms.

TRAIN / 01
The core course for HKOI. Complexity, sorting and searching, prefix sums, greedy choices, graphs and dynamic programming, practised on tasks split into subtasks the way an online judge scores them.
Open the syllabus →
TRAIN / 02
For a student who codes in Python today. Types, vectors, references, the standard library and fast input and output, so that the language stops getting in the way of the idea.
Open the syllabus →
TRAIN / 03
For S1 to S3 students starting out. Tracing code on paper, logic, stacks, queues and simple searches: the reasoning the written Heat papers reward, before any heavy algorithm.
Open the syllabus →The official team
It is the training programme the HKOI organisers run after each competition, for students who have already won a medal. It is free, it is held in person, and nobody can buy their way into it.
The 2026 general information page names three routes in: Gold, Silver and Bronze medal winners in HKOI 2025/26, the same three medals in HKGOI 2025/26 (the girls' olympiad), and Gold medal winners in SDIC 2025. The training FAQ adds a detail parents often miss: there is no invitation letter. A medallist simply turns up to a session on the published schedule and becomes an official member by attending once.
Finalists without a medal are not shut out completely. HKOI 2025/26 finalists, absentees excluded, could pre-register to sit in as non-trainees, and so could students who had solved 200 or more tasks on the HKOI Online Judge, if seats remained. Each session holds 54 people, and walk-ins are refused.
Regular training ran from February to April 2026 on Saturdays at City University of Hong Kong, with a morning session split into Level A and Level B and an afternoon session for everyone. The organisers state that "Trainings are conducted in Cantonese with English materials."
Level A is for experienced members; first-year members go to Level B. Attendance is recorded but, in the FAQ's words, not compulsory, and members who attend at least 60% of sessions receive a certificate. The year ends with the Team Formation Test, which is how Hong Kong chooses who goes to external contests.
| When (2026) | What happened | Who could take part |
|---|---|---|
| 14 February | First regular session: introduction to HKOI, competitive programming and Big-O | Medallists; registered non-trainees if seats allowed |
| 14 February to 2 May | Saturday sessions, Level A and Level B in the morning, a shared session after lunch | Official members (Level A only for those who qualify) |
| 9 May | Asia-Pacific Informatics Olympiad (APIO 2026) | Gold medallists in the Senior Group and top scorers in a March selection contest |
| 23 and 24 May | Team Formation Test: two days, five hours a day, paper in English only | Official members; observers by registration |
| 14 June | ACM-HK Programming Contest | Selected members |
| 27 June to 1 July | HKOI Training Camp, by invitation only | Members chosen for external competitions |
| 18 to 24 July | China National Olympiad in Informatics, Qingdao | Selected members meeting its rules |
| 9 to 16 August | International Olympiad in Informatics, Tashkent, Uzbekistan | Hong Kong team, chosen from HKOI medallists |
Sources: HKOI Organizing Committee, Training Team 2026 General Information, Training Team 2026 Schedule, Team Formation Test 2026 and APIO 2026 pages, read on 23 November 2026. Each external contest has its own extra rules on age, documents and residence, listed on the Team Formation Test page.
One rule shapes every family's expectations, so it belongs near the top of this page. The Training Team FAQ says that only Training Team members "who are invited to the team by winning a Gold/Silver/Bronze medal in HKOI may be selected to the IOI", and that they must also meet the IOI's own eligibility requirement. So the road to the IOI runs through an HKOI medal and nothing else. We say this plainly in the first class, because the honest goal for most strong students is the HKOI medal and the skill behind it, not a place on a team that very few reach.
The calendar
HKOI runs on a school-year cycle that begins in October with nominations and only reaches the Training Team in February. Seen as a sequence, it shows where outside coaching can help and where it cannot.
Everything before step 4 is open to anyone the school nominates, and it is where most of the learning has to happen. A student who arrives at the Heat having traced hundreds of short programs, and at the Final having written dozens of complete solutions against a judge, is in a different position from one who first meets a subtask on the day.
For 2026/27 that means the weeks up to 5 December 2026 for finalists, and the eleven months to the 2027/28 Heat for everyone else. HKOI has not yet published 2027/28 dates; its pattern in the last two years was a Heat in early November and a Final in early December, which is our reading of the dates it posted, not a promise from the organisers.
We cannot nominate anyone, enter a student, or speak to HKOI on a family's behalf. Nominations come only from the school, usually through the ICT teacher. If a school has never taken part, HKOI's own FAQ suggests sharing its website with the ICT teacher.
We also do not run anything that looks like the official Training Team, and we do not use its materials as our lessons. Its sessions belong to the students who earned them. Our classes are the private practice a student does on the way there, in the same way that a swimmer trains in a club before trials.
Before a medal
Look at what the official team teaches its first-year members, and you can see what a strong finalist is expected to know on arrival. The 2026 Level B list started with C++ itself and moved through optimisation, data structures, graphs, dynamic programming and mathematics.
| Official Level B topic, 2026 | Week and date | What we make sure of first (our plan) |
|---|---|---|
| Programming in C++ | Week 8, 21 February | Vectors, strings, pairs, sort with a comparator, fast input and output |
| Optimization | Week 9, 28 February | Prefix sums, difference arrays and two pointers, as in the lesson below |
| Data Structures (II) | Week 10, 7 March | Stacks, queues and maps used by hand before heaps and union-find |
| Graph (I) | Week 11, 14 March | Adjacency lists, depth-first and breadth-first search on small grids |
| Dynamic Programming (I) | Week 12, 21 March | Recursion with memory, then tables filled in order |
| Mathematics in OI (I) | Week 15, 11 April | Primes, gcd, modular arithmetic and counting |
| Graph (II) | Week 16, 18 April | Shortest paths on weighted graphs |
| Data Structures (III) | Week 17, 25 April | Range queries, after prefix sums are second nature |
Left and middle columns: HKOI Training Materials (2026), Level B list, read on 23 November 2026. Right column: our own order of teaching, not HKOI's, and not a copy of its materials.
The Heat is pencil and paper. Both papers mix multiple-choice and short questions, and no calculator or dictionary is allowed. The core skill is reading a short program and saying exactly what it prints, which is why our Heat preparation is mostly hand-tracing: the mentor shares a fragment of our own code, the student predicts the output aloud, and only then do we run it.
The HKOI syllabus page is a useful checklist here. Its Junior list includes binary search, quicksort, merge sort, counting sort and the ideas of stacks, queues and linked lists; the Senior list adds recursion, divide and conquer, graph basics, depth-first search and time and memory complexity.
The Final is four tasks in three hours, each split into subtasks. The rules say that to score a subtask, a program "must be correct for all test cases in that subtask". So a partial idea that is correct for small inputs is worth real points, and the classic Final skill is knowing which subtask to secure first.
In class we write tasks with three or four subtasks of rising limits, and the student practises the order a contestant should follow: a slow correct answer first, then the fast one, then a check that both agree. Our page on C++ for competitive programming describes the language side of this in more depth.
Outside class, the HKOI Online Judge is the natural practice ground. HKOI says it holds "More than 1800 tasks" and is open to secondary schools in Hong Kong through a school subscription, and finalists without an account receive a free practice account. We set homework there when a student has access through school, and on our own problems when they do not. Students heading further, towards IOI-style contests, may find our informatics olympiad training page useful.
C++ or Python
C++, for anyone serious about the Final. The rules say so directly, and the organisers' own 2025/26 statistics show how differently the two groups of students fared at the Heat.
HKOI's rules state that "Contestants shall implement their solutions in C++ (C++20)", and that Python 3.10 or above "is also available as a 2nd-class programming language. Not all tasks and subtasks are solvable using Python." At the Heat, Paper 2 comes in a Python version and a C++ version, and each student attempts exactly one. The statistics HKOI published for 2025/26 split the Heat results by that choice.
| Group and language | Students who chose it | Reached the Final | Share who reached the Final (our arithmetic) |
|---|---|---|---|
| Senior, C++ | 158 | 75 | 47.5% |
| Senior, Python | 292 | 24 | 8.2% |
| Junior, C++ | 199 | 73 | 36.7% |
| Junior, Python | 216 | 25 | 11.6% |
Source: HKOI Organizing Committee, Hong Kong Olympiad in Informatics 2025/26 Statistics, "Breakdown by Programming Language". The last column is our division of the two published columns, rounded to one decimal place; HKOI does not print it.
In the Senior Group, more students chose Python than C++, yet C++ students made up three quarters of the finalists from that group: 75 of 99. The pattern repeats in the Junior Group, less sharply.
It would be wrong to read this as "C++ makes you score higher". Students who already code in C++ tend to be the ones who have trained longest, so the language choice and the experience travel together. What the table does show is where the finalists come from, and what the Final will then ask of them.
A student who knows Python well is not starting again. Loops, functions, lists and thinking in steps carry straight over; what changes is types, memory and speed. We usually run a few weeks of the same problems in both languages side by side, so the student sees that the idea is the same and only the spelling differs.
For younger students who are not ready for C++, Python is a fine way to start learning the Heat's content. Our C++ classes for teens page describes the move from one to the other, which most HKOI students make by S3.
A real lesson
This is a practice task we wrote ourselves, in the shape a Final task often takes: easy to understand, hard to answer fast. It is not an HKOI problem, and none of its wording comes from one.
Our task, "Tram boardings". A tram line has n stops. At stop i, bi people board. You are asked q questions, each naming two stops l and r: how many people boarded from stop l to stop r, inclusive? Subtask 1: n and q are at most 1,000. Subtask 2: both are at most 200,000.
// Our own practice task (Modern Age Coders), not an HKOI problem.
// A tram line has n stops; b[i] people board at stop i.
// Answer q questions: how many boarded from stop l to stop r?
#include <iostream>
#include <vector>
using namespace std;
int main() {
const int n = 200000, q = 200000;
vector<long long> b(n + 1);
unsigned long long seed = 2026; // fixed seed: same data every run
auto next = [&]() { seed = seed * 6364136223846793005ULL + 1442695040888963407ULL; return seed >> 33; };
for (int i = 1; i <= n; i++) b[i] = next() % 50;
vector<pair<int,int>> ask(q);
for (auto &a : ask) {
int l = next() % n + 1, r = next() % n + 1;
if (l > r) swap(l, r);
a = {l, r};
}
// Subtask 1 idea: add up each range directly
long long slowSum = 0, slowSteps = 0;
for (int k = 0; k < 2000; k++) { // only the first 2,000 questions: the rest would take too long
for (int i = ask[k].first; i <= ask[k].second; i++) { slowSum += b[i]; slowSteps++; }
}
// Full solution: prefix sums, p[i] = b[1] + ... + b[i]
vector<long long> p(n + 1, 0);
long long fastSteps = 0;
for (int i = 1; i <= n; i++) { p[i] = p[i - 1] + b[i]; fastSteps++; }
long long fastFirst = 0, fastAll = 0;
for (int k = 0; k < q; k++) {
long long ans = p[ask[k].second] - p[ask[k].first - 1];
fastSteps++;
if (k < 2000) fastFirst += ans;
fastAll += ans;
}
cout << "first 2000 questions, direct sums: total " << slowSum << " in " << slowSteps << " additions\n";
cout << "first 2000 questions, prefix sums: total " << fastFirst << (fastFirst == slowSum ? " (same)\n" : " (DIFFERENT)\n");
cout << "all " << q << " questions, prefix sums: total " << fastAll << " in " << fastSteps << " steps\n";
cout << "direct method, average additions per question: " << slowSteps / 2000 << "\n";
}Our own program, written for this page. Compile it with c++ -std=c++17 -O2 tram.cpp -o tram and run ./tram. The fixed seed makes the made-up data, and so the output, identical on every run.
first 2000 questions, direct sums: total 3377628021 in 137905350 additions first 2000 questions, prefix sums: total 3377628021 (same) all 200000 questions, prefix sums: total 326689031547 in 400000 steps direct method, average additions per question: 68952
The exact output on our machine. The totals are numbers of people in our invented data, not real tram figures.
The direct method averaged 68,952 additions per question. Answering all 200,000 questions that way would take roughly 200,000 times that, around 14 billion additions (our estimate from the average). A judge would stop the program long before it finished.
Prefix sums did the whole job in 400,000 steps: 200,000 to build the table and one per question. Both methods gave 3,377,628,021 for the first 2,000 questions, which is the evidence that the shortcut is right.
Contest students lose points less often from not knowing an algorithm than from trusting a fast program they never checked. Writing the slow version first gives them a free tester, and it banks the points of the easy subtask while they think.
The same reasoning appears in the HKOI 2026 training schedule, where an early Level B session covered "prefix sum, delta array, sliding windows(two pointers)". Our lesson is our own; the topic simply sits where any serious preparation would put it.
Online, in English
Yes on both counts. Contest programming is done at a keyboard against a judge, so a shared screen is a natural classroom, and English is already part of the contest at the higher levels.
In a one-to-one class the mentor watches the code appear in real time. When a student types a loop bound wrong, or reaches for a nested loop where a table would do, the mentor sees the moment it happens and asks why. That conversation is the training; a recorded lecture cannot have it.
It also removes travel. The official sessions are at City University in Kowloon Tong, and a weekday evening class from home costs a student no journey at all. Hong Kong households are well equipped for it: 96.9% of them had home internet access in 2025, according to the Census and Statistics Department.
The Heat papers print English and Chinese side by side, and at the Final a student reads the language version chosen in the nomination form. Further up, the Team Formation Test page states that "The paper will be in English language only", and every international contest above it is set in English.
Our classes are taught entirely in English, by mentors based in India. Students who learned their programming vocabulary in Chinese pick up the English terms quickly when they meet them every week next to working code, and it prepares them for documentation, error messages and international task statements.
Neither Hong Kong nor India moves its clocks in summer, so the gap between them never changes: India time is 2 hours 30 minutes behind Hong Kong time. A 5 pm lesson after school starts at 2:30 pm India time, and a Saturday 10 am mock starts at 7:30 am there. More about our classes across the city is on the Hong Kong coding classes page, and our data structures and algorithms page shows the full topic list a long-term contest student works through.
The ceiling
All the way to the International Olympiad in Informatics, and 2026 was the strongest year Hong Kong has recorded there.
A government press release of 19 August 2026 reported that Hong Kong's four-student team at IOI 2026 won "two gold medals, one silver medal and one honourable mention". The contest was held in Uzbekistan with representatives from 92 countries or regions, and the team ranked sixth, which the release called "the city's best-ever performance at the IOI".
The same release recalls that the Education Bureau and the Hong Kong Association for Computer Education have run HKOI together since 1997, and that outstanding HKOI winners are chosen each year to represent Hong Kong.
Very few students reach that level, and none of them got there in a season. What the IOI path does show is that the skills HKOI tests are the same skills the strongest contests in the world reward, so the work is never wasted, whatever result a given year brings.
Our coding olympiad medal track describes how a multi-year plan looks for a student who wants to keep going, and our IOI 2027 guide covers next year's international contest.
Progress
Our own stages for contest students, used to plan classes and to report to parents. They are not HKOI levels and say nothing about any result.
| Stage | The student can | Evidence we look for |
|---|---|---|
| 1. Trace | Predict the output of a short program on paper | Ten fragments traced in a row without a slip |
| 2. Translate | Rewrite a Python solution in C++ | Same output in both, no compiler warnings |
| 3. Bank | Secure the smallest subtask of an unseen task | A correct brute force inside 20 minutes |
| 4. Speed up | Replace a slow method with prefix sums, sorting or search | Fast and slow versions agreeing on random tests |
| 5. Model | Turn a story into a graph or a table of states | A diagram explained in English before coding |
| 6. Compete | Manage four tasks in three hours | A timed mock with a written review afterwards |
The slow answer is your first tester.
Read the limits before you read the story.
Ask to see the review after each timed mock.
Stage 3 is where scores start to move.
More courses
Nine more courses, all available in Hong Kong as live one-to-one classes in English.
TRAIN / BASE / 01
Clean habits in the first language most students know.
Open the syllabusTRAIN / BASE / 02
Number puzzles solved by writing programs.
Open the syllabusTRAIN / BASE / 03
An early start on C++ for ages 9 to 12.
Open the syllabusTRAIN / MATH / 01
Number theory and counting for contest minds.
Open the syllabusTRAIN / MATH / 02
Timed multiple-choice problem solving.
Open the syllabusTRAIN / MATH / 03
Contest maths for S1 and S2 students.
Open the syllabusTRAIN / NEXT / 01
From Codeforces rounds to ICPC style teams.
Open the syllabusTRAIN / NEXT / 02
The full theory, for older students.
Open the syllabusTRAIN / NEXT / 03
Where algorithms meet data.
Open the syllabusHow classes run
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends.
After school
Early afternoon in India, so the mentor is fresh for a long task.
Saturday morning
A quiet slot for timed mocks before the Final.
Late evening
For senior students whose days are full.
The same contest coach each week, who knows your child's weak spots.
Code is written live, so every slip is seen and discussed.
Problems written by our mentors, with subtasks and limits.
Fast input, exact output format, and testing before submitting.
Timed sets near the Final, then a review in English.
What was covered, what to practise, and what comes next.
Student work
Work from students in our longer courses around the world. More is in our student labs.

AI and ML
An AI nutrition coach that reads what you eat and works you toward a target.

AI and ML
A chatbot that answers mathematics and programming questions, built and deployed by a student.

AI and ML
An assistant that helps a young person recognise unsafe situations online.

Web app
A weather forecasting site with live conditions for any location.
Fees
You pay a monthly fee, shown here in Hong Kong dollars, and you pay it a month at a time, so there is never a large sum to hand over before the Final. A payment gateway charge, where one applies, is shown on the checkout screen before you confirm.
Free first class
Free
no card required
One to one
$1,200 HKD
a month, eight live classes
What families say
Reviews that parents and students posted on Google, quoted as written.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
HKOI questions
No, and nobody outside HKOI can. The Training Team invites medallists from HKOI, HKGOI and SDIC, and some finalists may sit in as non-trainees if seats remain. We coach students for the Heat and Final, and we never promise a medal, a place or selection.
No. HKOI accepts nominations only through day secondary schools in Hong Kong, and its rules say tutorial centres and private candidates are not eligible. Ask your child's ICT teacher about nomination; there is no entry fee.
No. It was held on Saturday 7 November 2026. The 2026/27 Final is on Saturday 5 December 2026. Students who did not reach it this year can start preparing now for the 2027/28 Heat, whose date HKOI has not yet published.
C++. The rules name C++ (C++20) as the contest language and call Python a second-class language that cannot solve every task. A student who knows Python can start there and move across with us; most of the thinking carries over.
The HKOI Training Team FAQ says only Training Team members who joined by winning a Gold, Silver or Bronze medal in HKOI may be selected for the IOI, and that they must also meet the IOI eligibility rules. Selection is made by HKOI, never by us.
Yes. Every class is live, online and taught in English by a mentor based in India. We do not teach in Cantonese or Putonghua. English is also the language of the HKOI Team Formation Test paper and of international contests.
No. In Hong Kong we teach one to one only: one student and one mentor in every class.
Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. The mentor's clock in India runs 2 hours 30 minutes behind yours, so a class you book for 5 pm starts at 2:30 pm on their side.
We point students to the past papers on the HKOI website for their own practice, but our lessons use problems we write ourselves. We do not reproduce HKOI tasks or solutions.
It depends on the starting point. A confident C++ student can sharpen up for the Final in a few months; a student new to algorithms usually needs a school year or more. The free first class gives a realistic view.
Monthly, shown in Hong Kong dollars on this page, one month at a time with no lump sum. Any gateway charge is shown before you pay.
Related
Pages HKOI families tend to read after this one.
Every course we teach to Hong Kong families.
Preparation for IOI-style contests in general.
The language features contests lean on.
An open online contest for extra practice.
Other contests worth a secondary student's time.
A look inside a live one-to-one class.
Part of the guide: Every Hong Kong page
More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · Coding subjects and courses: App development · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay
Start here
Tell us your child's form, which language they use and whether they sat the Heat. In the free class a contest mentor sets a tracing question and a small task with subtasks, watches how your child works, and suggests a plan, live and one to one.
Want to look around first? How we teach shows a class from the inside, and the full syllabus of every course is on our courses page.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Classes are live, online and in English, taught by mentors based in India. A WhatsApp message in English gets the fastest reply.
A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.
Book a priority demo