A field guide to Advent of Code

Read the code.
Find the aha.

263 days of puzzles, small C solutions, and the ideas that make them click. Browse a year in the sidebar, or follow a problem type across the calendar.

Your input is not saved

We do not store or log POST bodies or solution outputs. Your input is processed in memory for that request and discarded. The input form does not save it in browser storage, and this site uses no cookies.

Operational logs contain request metadata such as the path, status, byte count, and timing. Optional usage counters count requests, never their contents.

The puzzles come first

Advent of Code is created by Eric Wastl ↗. This is an independent tribute to the craft behind it, with links back to every original puzzle.

In the AI age, learning to code still means learning to think: to turn a story into a model, test an assumption, and recognize the simpler answer. Advent of Code is a wonderful place to practice. Try a puzzle yourself, then come here to compare approaches.

POST an input, get an answer

Send the raw puzzle input to /{year}/{day}/{part}, with part 1 or 2. Each POST gets one JSON reply containing the computed answer or an explicit error. You can also use the input form at the end of any day page.

curl --data-binary @input.txt https://adventofcode.io/2025/1/1

Heuristics are a major part of the fun of Advent of Code, and what sets this collection apart from other solution solvers. Inspect the input, ground assumptions in what it actually contains, and use those insights to narrow the solution space.

Some days expose that exploration as named methods such as estimate or span. POST your input to /{year}/{day}/{part}/{method} to see the measurements or estimates that help establish the assumptions and bounds behind the solution. The day’s form lists the available names.

Compare the returned answer with your own work. This site does not submit answers to Advent of Code.

Small programs, declared limits

Each solution accepts inputs within its documented assumptions. The day’s insight and source explain its storage and computation bounds; inputs beyond those bounds are refused with a specific reason.

Input
Up to 1 MiB; 10 seconds to upload.
Execution
8 MiB memory, a 64 KiB stack, a work budget of 50 million checks, and a 1,000 ms CPU budget. Each solve also has a 10-second execution deadline.
Requests
5 POSTs per minute per connecting IP, shared across all days. People sharing an IP share this allowance. Up to eight active requests, with one solution running at a time. Exceeding the rate limit returns 429; a busy service returns 503.
Daily allowance
100,000 requests per day, shared across the service and reset at midnight UTC. Year pages, day pages, metadata requests and solver POSTs count toward this allowance. The cover, topic pages and browser assets do not.
Output
Up to 64 KiB. Text is returned as text; non-UTF-8 bytes use base64.

Large or expensive inputs can exceed the execution limits. The browser’s elapsed time includes the full request and reply, including any waiting time.

The final day has no computational part two: day 25 through 2024, and day 12 in 2025, return an empty answer for part two.

Start with an idea

Visit Advent of Code ↗ · Browse problem types · Read the 2026 story

Categories for 2015–2024 adapted from u/Boojum’s 500 Stars: A Categorization and Mega-Guide ↗. A day can belong to several categories. Tags from 2025 onward are our additions.