Английская Википедия:Advent of Code

Материал из Онлайн справочника
Версия от 12:56, 1 января 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{Short description|Annual computer programming event}} {{Use American English|date=February 2022}} {{Use mdy dates|date=May 2021}} {{Infobox recurring event | name = Advent of Code | image = Advent of Code 2020 screenshot.png | caption = Screenshot of the 2020 event page | status = Active | begins = December 1 | ends...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Short description

Шаблон:Use American English Шаблон:Use mdy dates

Шаблон:Infobox recurring event

Advent of Code is an annual set of Christmas-themed computer programming challenges that follow an Advent calendar.[1][2] It has been running since 2015.[3]

The programming puzzles cover a variety of skill sets and skill levels and can be solved using any programming language. Participants also compete based on speed on both global and private leaderboards.[1]

The event was founded and is maintained by software engineer Eric Wastl.

History

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

The event was initially launched on December 1, 2015. By midnight EST (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 a system 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 the COVID-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]

Puzzle design

Puzzles consist of two parts that must be solved in order,[7][8] with the second part not revealed to the user until the first part is solved correctly.[9] Participants are awarded a silver star for completing the first part of a daily puzzle, and a gold star after completing the second.[10]

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

Puzzles are released on a daily schedule from December 1 to December 25 at midnight EST. There is no time limit to complete the puzzles, and puzzles from past years' events remain available to solve.[4]

Some participants have used tools such as GitHub Copilot and ChatGPT to assist in solving the puzzles.[4] In 2023, Wastl requested that users abstain from using these tools until after the leaderboard has been filled for the day, stating that "the leaderboards are for human competitors".[11]

Preparations

Шаблон:Primary sources

According to a comment in the HTML code on each page of the event's website, Advent of Code runs using custom Perl code. Wastl built almost the entire website himself, including the design, animations, prose, and puzzles. (He relies on other services for authentication, analytics, and social media integrations.)[1]

Each year, Wastl creates and tests the 25 puzzles in advance. This takes 4–5 months of work each year.[1]

References

Шаблон:Reflist

External links