The problem in brief
This is the make-up sitting (28 February 2026) of the first-round online test of the Indian National AI Olympiad 2026. It has the same structure as the main test, with new numbers and twists. Section A1 is puzzle-style reasoning: a toy language, choosing which LLM-extracted features to trust, designing a similarity function, a recursive epidemic, a knight's path. Section A2 contains short modelling puzzles: facility location under two distances, a chess-team match, reading a price model off a graph, constrained optimisation, Bayes. Section B has four case studies: a three-class hospital triage classifier, ranking metrics, 1-D convolution kernels, and pruning a linear classifier. Answers are an option or an integer, usually a floor . Every computable answer was checked by exact or brute-force computation in solution.py.
How you are scored
Each item is worth the points printed next to it (3 points per A1/A2 item, 1 to 4 per case-study question), with no partial credit inside a question. No answer key or qualifying score is published, so the answers below are our own derivations.
Answers at a glance
| item | answer |
|---|---|
| A1 Imperial glyphs | E: 土造蘋果甜 |
| A1 Faulty oracle | F: |
| A1 Professor search | C |
| A1 V-67 outbreak | D: 102 |
| A1 Pikachu | E: 15 |
| A2 Godown | 15 |
| A2 Blind board gambit | 31 |
| A2 Crude curve | 49 |
| A2 Catalyst | 45 |
| A2 Pit-stop | 15 |
| B1 Triage Q1 to Q7 | 43, 90, option 5 (point E), option 2, option 3, claims 3 and 5, 13 |
| B2 WonkaRank Q1 to Q5 | 10, option 4, option 3, option 4 (ScoreD only), 30 |
| B3 Convolution Q1 to Q5 | A; D, F; E, F; E, F; B, D, F |
| B4 Pruning Q1 to Q3 | 36, 13, 65 |
The key idea
Most items reward the same habits: rebuild the full object (confusion matrix, ranking, parameter set) from the partial information given, look for invariants and closed forms (the minimiser of a sum of Itakura-Saito terms is the mean, antisymmetric kernels vanish on palindromes), and brute-force anything small enough (knight paths, team assignments, pruning pairs) instead of reasoning by hand.
The full solution
Section A1
Imperial glyphs: E. Aligning the sentences gives 蘋果 = apple, 甜 = sweet ("This is a sweet apple" = 這甜蘋果) and 造 = make. "Does the tree make the apple beautiful?" (樹造蘋果美?) and "The mountain paints the palace black" (山塗宮黑) show the order subject, verb, object, resulting adjective. "Soil" never appears in the examples, but every option except one uses either 山 (mountain), a wrong order or an extra 很 ("very"). Only E 土造蘋果甜 has a new subject glyph, 造, 蘋果, 甜 in the right order. The traps: A uses 山 (that is "mountain makes"), B adds 很, C and F put the apple first, D uses 塗 and 宮 (paint the palace).
Faulty oracle: F . Ask whether a small text-only model with web retrieval can produce each feature reliably.
- (character count) is broken by tokenisation: the model sees sub-word tokens, not characters (a single
len()would do it exactly). - (which outlet published this headline) and (that outlet's political leaning) require guessing the source from a headline. That is speculative attribution: errors in propagate into , the leaning label is itself subjective, and a source guess is a proxy for the label rather than evidence about the content.
- With retrieval, (publication year) becomes checkable, (headline/body consistency) is a reading-comprehension task on the given text, and , , are standard.
The only option made of the three structurally unreliable features is F. (In the main test there was no retrieval, so the year was the unreliable one.)
Professor search: C. Check each rule. A, E and F can exceed 1 (rule 5). B multiplies by , which is not 0 when departments differ (rule 2). D penalises titles more than names (rule 4). C, , is 0 across departments, symmetric (edit distance is), in , equal to 1 exactly when both NED are 1 (identical strings), and the name mismatch has twice the weight.
V-67 outbreak: D 102. Iterating day by day, with , , and collecting half of each day: , , .
Pikachu: E 15. An exhaustive depth-first search over knight paths on the board finds a longest path from to visiting 15 pads. All 16 is impossible: a knight alternates colours, and have the same colour, so a path between them has an odd number of pads.
Section A2
Godown: 15. For Manhattan distance, and separate, and each minimiser is any median. The values sorted are , so the medians form , midpoint 100; for also 100. So . For Itakura-Saito,
so is the mean, . Then exactly. (A numerical optimiser returns 114.993 and a careless floor of 14: use the closed form.)
Blind board gambit: 31. Enumerating Anand's 6 assignments against the three equally likely Gukesh assignments, the best on average is . Against the actual the board probabilities for Anand are , and . Winning at least 2 of 3 boards gives , so .
Crude curve: 49. Read the terms off their fingerprints. Before month 18 only acts. With (extremes every 6 months), the points , , give , , , and checks. The vertical jump at 18 gives ; and check. The recovery starts at , and gives . The downward trend starts at , and gives ; and check (51.95 and 64.90). At the cosine is :
Catalyst: 45. Maximise with . The unconstrained optima (, ) need more than 5 moles, so the constraint binds. Equal marginal yields, with , give , , and a yield of .
Pit-stop: 15. By Bayes over the 8 (safety car, strategy) cells, with weights :
Section B1: triage
Rebuild the confusion matrix (rows predicted, columns actual; class sizes 500, 350, 150). The diagonal is sensitivity times class size: 420, 245, 120. Specificity gives the false positives of each predicted class: , , . With the two given entries (10 ICU predicted Outpatient, 25 Outpatient predicted ICU) the remaining cells follow, but the published numbers are slightly inconsistent: the column of actual class 2 adds up to 353.5 instead of 350, and the false positives of predicted class 2 come out at 75 instead of 78. We therefore use, for each question, the most direct relation.
- Q1: 43. Among predicted ICU, the false alarms are , so . (Rebuilding the cell from the class-2 column instead gives 42.)
- Q2: 90. Hospital patients sent home are exactly the false positives of predicted class 1, , so .
- Q3: point E (option 5). The expected cost per patient is : A 0.593, B 0.427, C 0.356, D 0.334, E 0.287, F 0.295. The optimum is where the ROC slope equals .
- Q4: option 2, the curve improves. The biomarker carries information independent of given the class, so adding it with a positive weight separates the classes better. In a simulation (Gaussian scores, AUC 0.87) the new curve lies above the old one at every FPR and the AUC rises to 0.95. Strictly, a fixed is not the optimal (likelihood-ratio) weight, and with an already near-perfect score the curves can touch; but among the options "improves consistently" is the intended answer.
- Q5: option 3. A ROC curve is invariant to prevalence (1), to the threshold (2: moving along the curve), to monotone transforms (4) and to removing a random subset of a class (6), and sampling noise (5) does not produce a consistent shift. Only a better score, from new predictive features, moves the whole curve up and left.
- Q6: claims 3 and 5. Claim 1 is false: the cascade Y always outputs one label (only the pairwise scheme Z can be inconsistent and need voting). Claim 2 is false: "strictly greater on any dataset" never holds. Claim 3 is true: a single scorer with thresholds is ordinal regression, which squared loss on ordered targets enforces naturally, and squared loss is outlier-sensitive. Claim 4 is false: it is the opposite. Claim 5 is true: the log loss is a proper scoring rule, while the hinge loss only produces margins.
- Q7: 13. The cost is . The answer is 13 whichever consistent completion of the matrix is used (13.25 to 13.42).
Section B2: WonkaRank
- Q1: 10. .
- Q2: option 4. The top 8 of Strategy A contains 3 of the 4 relevant chocolates (precision 0.375, recall 0.75). Strategy B gives score 1 to D9 (it has hazelnut), which enters the top 8 instead of D6: precision 0.5, recall 1. Both improve.
- Q3: option 3. DCG is maximised by sorting by relevance, (relevances 10, 5, 3, 2): 15.52, against 15.45 for option 5 and 15.25 for option 1.
- Q4: option 4, ScoreD only. The top 3 are: ScoreA (2/3), ScoreB (0), ScoreC (2/3), ScoreD (3/3). Dividing by penalises chocolates that contain everything (the ticketless D2).
- Q5: 30. The ScoreA ranking is ; relevant items sit at positions 2, 3, 4, so .
Section B3: convolution
With (kernel reversed):
- Q1: A. The padded series is ; with stride 2 the windows , , give .
- Q2: D and F. A second-difference kernel ( and zero on linear ramps) gives 0 on constants and on the smooth ramp, and large values on zig-zags: gives , and gives on . A gives 12 on the smooth signal, B fails on constants, C and E are first-difference-like.
- Q3: E and F. must be 0 for constant velocity, negative when decelerating and positive when accelerating, i.e. a positive multiple of : ( and ) and ( and ). B has the opposite sign.
- Q4: E and F. A kernel that vanishes on every linear signal (the second difference, up to sign) gives on constants and on the ramp , and 24 on the spike. All others are non-zero on .
- Q5: B, D and F. The single output is . It vanishes on every palindrome (, ) exactly when is antisymmetric (, ): , and . (No single linear output can be non-zero on all asymmetric signals, since its null space has dimension 3, but these three are the kernels that pass the stated test.)
Section B4: pruning
- Q1: 36. Option A forces , so : predicted 0 for a positive example, accuracy 5/6. Option B forces with all six signs correct, accuracy 1. So .
- Q2: 13. Trying all 21 pairs, the unique best (accuracy 6/7) is , so .
- Q3: 65. After pruning, the scores are . Every gives accuracy 7/7, and the tie-break picks the largest, , so .
Results
All answers are in the table at the top. Every numeric item (V-67, Pikachu, Godown, gambit, crude curve, catalyst, pit-stop, all of B1 Q1 to Q3 and Q7, B2, B3, B4) was recomputed in solution.py. Two items depend on how a slightly inconsistent statement is read: B1 Q1 (43 with the specificity of class 3, 42 if the cell is rebuilt from the class-2 column) and B1 Q4 (option 2 intended; option 6 is the pedantic alternative).
What to remember
- Closed forms beat optimisers for floors. The Itakura-Saito minimiser is exactly the mean; a numerical optimiser stopping at 114.993 would have turned 15 into 14.
- Rebuild the confusion matrix and check it. Sensitivities, specificities and class sizes overdetermine it; checking the redundant equations reveals inconsistencies in the data before they silently change your answer.
- ROC curves depend only on the ranking within each class. Prevalence, thresholds, monotone transforms and random subsampling never move them; better features do.
- Kernels are finite differences. First difference: velocity; second difference: acceleration and spikes; antisymmetric kernels vanish on palindromes. Check the null space before checking the options.
- Brute force small search spaces. Knight paths, team assignments and pruning pairs are enumerable in milliseconds, and parity arguments (the knight's colour) explain the answer afterwards.