What to build
The elf calculator has only 48 registers. Each instruction reads from two registers, performs one addition, subtraction, multiplication, or exact division, and writes the result into one register. There are 1,000 puzzles; each gives several small starting values and a list of large target values. You must write a program so that every target value appears in a register. The total number of instructions across all 1,000 programs should be as small as possible.
Computation rules:
- All values must be positive integers; subtraction requires the first number to be greater than the second.
- Division must be exact.
- No step may produce a result exceeding the puzzle’s value_limit, including intermediate values.
- Starting values are placed in order in the first registers; all other registers initially have no value, and you can only read registers that already have a value.
- A target number is completed once it appears, including if it was already a starting value, and later overwriting that register does not matter.
- Two source registers are read before the result is written, so the result may be written back to a source register, and both sources may be the same register.
Data
- puzzles.csv: 1,000 scored puzzles, with id from scored_0001 to scored_1000. Columns include starting_values (starting positive integers, JSON array), targets (target positive integers, JSON array, sorted ascending), value_limit (register value limit, between 1 and 10^18), registers (number of registers, always 48).
- practice_puzzles.csv: 200 unscored practice puzzles, with 3 additional columns: family (generation method: independent, shared, multiplicative, mixed, tiny), design_tier (difficulty: hard, medium, easy), lower_bound (number of target values not present in starting values, a loose lower bound on instruction count that may not be achievable). The practice set has more tiny puzzles for easier debugging, and the distribution of puzzle types differs from the scored set.
- sample_submission.csv: a valid baseline program for each puzzle, with a maximum of 2,873 instructions for any single puzzle.
Judging
Each of the 1,000 scored puzzle programs is replayed instruction by instruction. The score is the total instruction count; lower is better. Each instruction counts as 1, including instructions that read the same source twice, compute an already existing value, or run after all targets have been completed. There is no partial credit; if any program is invalid, the entire submission is rejected. There is no public/private split; all scored puzzles are evaluated together.
What to submit
- A UTF-8 encoded CSV with exactly two columns: id and program, in that order. Each id from scored_0001 to scored_1000 must appear exactly once; row order does not affect the score.
- program is a JSON array. Each instruction is a 4-element array [operator, source register 1, source register 2, destination register]; for example, [“+”, 0, 1, 2] means add register 0 and register 1 and write into register 2. Operators can only be “+”, “-“, “*”, “/”; register numbers are 0 to 47. JSON quotes must be escaped using a CSV library.
- Each program may have at most 4,096 instructions, and each program cell may be at most 131,072 bytes (128 KiB).
- You may submit up to 100 times per day, and you may select up to 2 submissions for final evaluation.
- External data, models, and tools are allowed if they are free and publicly available to everyone or reasonably priced.
Prizes
- 1st place $12,000, 2nd place $10,000, 3rd place $10,000, 4th place $8,000.
- Rudolph Prize $10,000: awarded to the team that spends the longest time in first place on the leaderboard from the start of the competition until the submission deadline. If the competition restarts, the new start and end times are used.
Total prize pool $50,000.
Notes
- Registration (acceptance of rules) and team merging close on January 22, 2027 at 07:59 Beijing time (UTC+8).
- Winners must post a detailed solution in the forum within 14 days after the competition ends, submit code and documentation, and open-source the winning solution and source code under CC BY 4.0 or Apache 2.0.