Giter VIP home page Giter VIP logo

ageron / adventofcode2021 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axllind/adventofcode2021

0.0 1.0 0.0 599 KB

Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time. With competitive global leaderboard placements! :christmas_tree:

Home Page: https://adventofcode.com/2021

License: MIT License

Shell 1.52% Rust 98.48%

adventofcode2021's Introduction

AdventOfCode2021 ๐ŸŽ„

Solutions to all 25 AoC 2021 problems in Rust, using less than 100 lines per day, with a total execution time of less than a second ๐Ÿฆ€

All solutions are quite short and efficient while still being readable and idiomatic. The code emits zero clippy warnings and has a total execution time of about 0.85s!

See timings.md for execution time and output of each solution.

Thanks again for another amazing year of AoC, especially the subreddit community and of course @ericwastl! Overall, I thought 2021 was one of the best years yet. The difficult was just right. Definitely harder than 2020 I thought but not more than 2019.

Usage

cargo run --release --bin DAY # run a specific day
cargo run --release           # run all days

Other years

  • 2020 in Rust ๐Ÿฆ€
  • 2019 in Rust ๐Ÿฆ€
  • 2018 in Python ๐Ÿ
  • 2017 in Haskell ฮป
  • 2016 in OCaml ๐Ÿซ
  • 2015 in Clojure ฮป

Leaderboard placings

The puzzles unlock at 06:00 in the morning in my timezone. This is the second year in a row I've set an alarm for 5:50 for 25 days in a row to complete for leaderboard placings (except day 11 when I overslept)!

Went very well this year compared to last year, top 1000 for 18/25 days. Set a new personal best of 153!

leaderboard

adventofcode2021's People

Contributors

axllind avatar pts314 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.