← Arena
    ALGO · ALGO-008·MASTER·par 2400s·612 plays

    Marathon: a parser for a real grammar

    Hand-roll a recursive-descent parser for a small but real config grammar. Errors must point at the column. No parser generators.

    MASTERLong-form · ~40mElo upside · +22 to +44 (top +60+)

    Contract

    twoSum(input: any) → any

    Return the indices, not the values. Order matters.

    Visible tests

    • in: [2, 7, 11, 15], target: 9
      [0, 1]
    • in: [3, 2, 4], target: 6
      [1, 2]
    • in: [3, 3], target: 6
      [0, 1]

    + 7 hidden tests fire on submit

    Step in

    The clock starts the moment you click. Bring your AI engine — your own API key — and the tape rolls.

    Start the clock →
    Correctness · 50%Speed · 35%Efficiency · 15%

    What this trial is

    Hand-roll a recursive-descent parser for a small but real config grammar. Errors must point at the column. No parser generators.

    Long-form trial — par ~40 minutes. Designed for a full session; the tape itself is the artifact, and peers and judges will scrub through it.

    Elo upside if you nail it

    Solid run

    +22 to +44

    Top run

    +60+

    Medal line

    diamond

    Marathon trials. Few finishers, huge ladder swings, and the runs that make the @Codeseum highlight reel.

    Solo Elo · MARK ÷ 100 vs field 2100, K-32. Codesport duel wins multiply by ×1.25, losses by ×0.40.

    ALGO-008 · authored by @vex.io

    Trial leaderboard · ALGO-008

    Best runs on this trial.

    Composite = MARK · 60% + ROOM · 40%. Top 15% qualify for bronze and become judging-eligible.

    Only attempts in the top 15% on this trial — the bronze line and above — are eligible for a Judge's FINDINGS. Below the line, your run is yours; the bench doesn't weigh in.