{"id":531266,"date":"2024-11-29T08:05:06","date_gmt":"2024-11-29T07:05:06","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=rust&#038;p=531266"},"modified":"2025-09-16T13:02:55","modified_gmt":"2025-09-16T12:02:55","slug":"solve-advent-of-code-2024-puzzles-in-rust-and-win-prizes","status":"publish","type":"rust","link":"https:\/\/blog.jetbrains.com\/rust\/2024\/11\/29\/solve-advent-of-code-2024-puzzles-in-rust-and-win-prizes\/","title":{"rendered":"Solve Advent of Code 2024 Puzzles in Rust and Win Prizes"},"content":{"rendered":"\n<p>For the fourth year in a row, JetBrains is a proud sponsor of the Advent of Code, and this year, alongside the <a href=\"https:\/\/blog.jetbrains.com\/kotlin\/2024\/11\/advent-of-code-2024-in-kotlin\/\">Kotlin challenge<\/a>, we invite all Rust developers to join. Test your skills at a comfortable pace or join the leaderboards for a chance to win a USD 100 Amazon Gift Card!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Advent of Code?<\/h2>\n\n\n\n<p><a href=\"https:\/\/adventofcode.com\/2024\/about\" target=\"_blank\" rel=\"noopener\">Advent of Code<\/a> is an advent calendar of small programming puzzles for a variety of skill sets and levels. Anyone with a bit of programming knowledge and problem-solving skills is welcome to tackle the 25 daily winter-themed algorithmic puzzles, starting soon on December 1.<br><br>With its focus on performance and memory safety, Rust presents a unique and rewarding challenge for Advent of Code. Whether you&#8217;re a seasoned Rustacean or just beginning to grapple with borrowing and ownership, these puzzles offer an excellent opportunity to test and hone your Rust skills.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to enter the contest<\/h2>\n\n\n\n<ol>\n<li>Complete at least three Rust puzzles.<\/li>\n\n\n\n<li>Share your solutions on GitHub.<\/li>\n\n\n\n<li>Make sure we can contact you through your GitHub profile (by your email address or X handle).<\/li>\n<\/ol>\n\n\n\n<p>Looking for a real challenge? Join our official leaderboards to compete for the top three places and win one of the following Amazon Gift Card prizes:<\/p>\n\n\n\n<ul>\n<li>First place \u2013 USD 100<\/li>\n\n\n\n<li>Second place \u2013 USD 70<\/li>\n\n\n\n<li>Third place \u2013 USD 50<\/li>\n<\/ul>\n\n\n\n<p>If you plan to compete on the official leaderboards, you are not permitted to use AI or LLMs to solve the puzzles, as per the event rules.<\/p>\n\n\n\n<p>We\u2019ll also give out USD 25 Amazon Gift Cards to five randomly selected participants.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Join the leaderboards<\/h2>\n\n\n\n<p>To join, head to the <em>Leaderboard<\/em> section of your Advent of Code profile and enter one of the codes below. Please join only one leaderboard so that there\u2019s room for everyone to join.<\/p>\n\n\n\n<p>\u2022 Leaderboard 1: 4223313-0e7271e5<\/p>\n\n\n\n<p>\u2022 Leaderboard 2: 2365659-39ca5358<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparation steps<\/h2>\n\n\n\n<p>We\u2019ve prepared a <a href=\"https:\/\/github.com\/bravit\/advent-of-code-rust-template\" target=\"_blank\" rel=\"noopener\">GitHub template<\/a> to help you quickly set up a project for Advent of Code in Rust. This template streamlines your setup, automatically removes unnecessary files, and customizes your project with your username and name.<\/p>\n\n\n\n<p>To start, log in to GitHub, click <em>Use this template<\/em> (don\u2019t fork!), and clone it in <a href=\"https:\/\/www.jetbrains.com\/rust\/\" target=\"_blank\" rel=\"noopener\">RustRover<\/a> once setup is complete.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2025\/09\/AD_4nXein6TKLk_5yCS6dbmt-gz9gJQ5e4nYZ6WPtNPVpQX-HTDwEgzNUH-f2IaXN6AEIWfYWnF-Gfhd5dgnBjnBrE4wKWELVb9VNH_Lg6gvw-a-_8GftsC1neCcrKe4aw2w-RFRQHJ2LA.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Make sure to add aoc-2024-in-rust to the <em>Topics<\/em> field in your repository by clicking the gear icon in the top right-hand corner of the repository page to edit it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Join our livestream<\/h2>\n\n\n\n<p>Whether you\u2019ve already solved a puzzle or could use a hint, join Vitaly Bragilevsky, RustRover Developer Advocate, on <a href=\"https:\/\/www.youtube.com\/watch?v=HHrF4P0zQ8A&amp;list=PLlFc5cFwUnmwHaD3-qeoLHnho_PY2g9JX&amp;index=5\" target=\"_blank\" rel=\"noopener\">December 8 livestream<\/a> to walk through the Rust puzzle of the day and chat about solutions and strategies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Helpful resources<\/h2>\n\n\n\n<ul>\n<li><a href=\"https:\/\/blog.jetbrains.com\/rust\/2024\/11\/28\/advent-of-code-in-rust-for-the-rest-of-us\/\">Tips and Tricks for Solving Advent of Code in Rust<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/plugins.jetbrains.com\/plugin\/16631-learn-rust\" target=\"_blank\" rel=\"noopener\">Learn Rust<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/blog.jetbrains.com\/rust\/2024\/09\/20\/how-to-learn-rust\/\" data-type=\"link\" data-id=\"https:\/\/blog.jetbrains.com\/rust\/2024\/09\/20\/how-to-learn-rust\/\">How to Learn Rust in 2024<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>Good luck, everyone!<\/p>\n","protected":false},"author":1316,"featured_media":531269,"comment_status":"closed","ping_status":"closed","template":"","categories":[13,8643],"tags":[6828,65,530,8430],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/rust\/531266"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/rust"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/types\/rust"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/users\/1316"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/comments?post=531266"}],"version-history":[{"count":9,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/rust\/531266\/revisions"}],"predecessor-version":[{"id":607200,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/rust\/531266\/revisions\/607200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/media\/531269"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/media?parent=531266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/categories?post=531266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/tags?post=531266"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ru\/wp-json\/wp\/v2\/cross-post-tag?post=531266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}