Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Advent of Code

From Wikipedia, the free encyclopedia
Annual computer programming event

Advent of Code
Screenshot of the 2020 event page
StatusActive
BeginsDecember 1
EndsDecember 12 (previously December 25)
FrequencyAnnually
InauguratedDecember 1, 2015 (2015-12-01)
FounderEric Wastl
Most recentDecember 2025 (2025-12)
Websiteadventofcode.com

Advent of Code is an annual set ofChristmas-themedcomputer programming challenges that follow the story of the North Pole elves making necessary preparations for smooth festivity operations, unraveled day by day akin to how anAdvent calendar is opened.[1][2] It has been running since 2015.[3]

Advent of Code's programming puzzles cover a variety of skill sets and skill levels and can be solved using anyprogramming language, requiring solution answer upload instead of solution source code upload. Up to and including 2024, participants were also able to compete based on speed of correct solution hand-in on publicleaderboards. From 2025 and onwards, only private leaderboards are supported, with publicizing one's private leaderboard too broadly being discouraged.[1]

History

[edit]

Advent of Code was founded by Eric Wastl, who is still the sole maintainer of the project.[1][4]

The event was initially launched on December 1, 2015. By midnightEST (UTC−05:00), 81 people had signed up for the event, going slightly over Wastl's planned 70-participant capacity. Within 12 hours, about 4,000 people had joined, nearly causing asystem crash. After 48 hours, there were about 15,000 people, and by the end of the 2015 event, the total had risen to 52,000.[5]

In 2020, perhaps due to theCOVID-19 pandemic, the event saw a 50% growth in traffic, with over 180,000 participants worldwide.[5]

On December 4, 2022, Wastl announced that the project had reached 1,000,000 registered users.[6]

On October 22, 2025, Wastl announced that going forward the Advent of Code wouldn't have a global leaderboard and would consist of 12 puzzles.[7]

Puzzle design

[edit]

Puzzles consist of two parts that must be solved in order,[8][9] with the second part not revealed to the user until the first part is solved correctly.[10] Participants are awarded one gold star for completing each part of a daily puzzle. The exception is the final star, which is awarded without any problem statement to those that have collected all other stars. As a result, the statistics for how many people have collected a year's final star is the same number of people that have collected all of the year's stars.

Each puzzle contains a fictionalbackstory that is the same for all participants, but each person receives a different piece of input data and should generate a different correct result.[10]

Previously, puzzles were released on a daily schedule from December 1 to December 25 at midnight EST, but since 2025, they will be released only up until December 12th. There is no time limit to complete the puzzles, and puzzles from past years' events remain available to solve.[4]

Preparations

[edit]
icon
This sectionrelies excessively onreferences toprimary sources. Please improve this section by addingsecondary or tertiary sources.
Find sources: "Advent of Code" – news ·newspapers ·books ·scholar ·JSTOR
(December 2023) (Learn how and when to remove this message)

According to acomment in theHTML code on each page of the event's website, Advent of Code runs using customPerl code. Wastl built almost the entire website himself, including the design, animations,prose, and puzzles. (He relies on other services forauthentication,analytics, andsocial media integrations.)[1]

Each year, Wastl creates and tests the puzzles in advance. This takes 4–5 months of work each year.[1] A handful of beta testers are employed, who are credited by name.

Controversy

[edit]

Some participants have usedgenerative artificial intelligence to solve the puzzles.[4] In 2023, Wastl requested that users abstain from using these tools to solve the puzzles in an unattended fashion until after the leaderboard has been filled for the day, stating that "the leaderboards are for human competitors",[11] and from 2025 onwards has decided to discontinue the global leaderboard entirely, with the reasoning that "what started as a fun feature in 2015 became an ever-growing problem".[12]

See also

[edit]

References

[edit]
  1. ^abcdeWastl, Eric (2022)."About".Advent of Code. RetrievedDecember 10, 2022.
  2. ^Joyce, Kara E. (November 11, 2020)."Brain teasers and other fun tips for learning Python".SearchBusinessAnalytics.TechTarget.Archived from the original on November 12, 2020. RetrievedMay 12, 2021.
  3. ^Speed, Richard (December 1, 2021)."On the first day of Christmas, my true love gave to me... a coding puzzle and it's a doozy".The Register.Archived from the original on December 1, 2021. RetrievedDecember 5, 2021.
  4. ^abcWarren, Christina (December 9, 2022).The Download: Clippy Sweaters, ChatGPT Mania, Advent of Code and more (Videotape).GitHub. RetrievedDecember 11, 2022 – viaYouTube.
  5. ^abRoberts, Siobhan (December 17, 2021)."This puzzle challenge brings joy to the world of code".MIT Technology Review. RetrievedFebruary 20, 2022.
  6. ^Wastl, Eric [@ericwastl] (December 4, 2022)."#AdventOfCode just hit 🌟1,000,000🌟 registered users!!!" (Tweet). RetrievedDecember 10, 2022 – viaTwitter.
  7. ^Wastl, Eric (October 22, 2025)."Post".Hachyderm.
  8. ^Gee, Sue (December 6, 2020)."Advent Of Code For Programmers".I Programmer.Archived from the original on December 6, 2020. RetrievedMay 12, 2021.
  9. ^Fisher, Kenneth (December 3, 2020)."SQL Homework – December 2020 – Participate in the Advent of Code. from Blog Posts – SQLServerCentral".Packt Hub.Archived from the original on January 26, 2021. RetrievedMay 12, 2021.
  10. ^abHjelle, Geir Arne (December 1, 2021)."Advent of Code: Solving Your Puzzles With Python".Real Python. RetrievedFebruary 20, 2022.
  11. ^"About - Advent of Code 2023".adventofcode.com. RetrievedOctober 22, 2023.
  12. ^"About - Advent of Code 2025".adventofcode.com. RetrievedNovember 26, 2025.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Advent_of_Code&oldid=1329863163"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp