Code Monkey home page Code Monkey logo

advent-of-code-2023's Introduction

aidandenlinger's Advent of Code 2023

Doing Advent of Code 2023 in Rust for practice and fun :)

Solutions prioritize legibility over optimality, although both are limited to the extent of my knowledge ;). You can find Advent of Code 2023 here.

Install

You need the rust toolchain, which you can install with rustup.

Usage

Each day has two folders - one for part a and one for part b.

To run, create a folder called input at the top of the repo and place your inputs inside, with the format dayXX.txt. Then, you can open that day and part's folder and run cargo run. These solutions assume proper input, it will panic on improper inputs.

cargo test will run basic tests on the examples from the problem prompt, as well as test that it produces the expected answer from my input. If you change the inputs, that unit test will now fail since the input is different, this would be expected.

Thanks

Thanks to other folks publishing their Rust repos so I can learn and improve my code afterwards :)

Contributing

Not accepting contributions, these are puzzles :)

License

MIT

advent-of-code-2023's People

Contributors

aidandenlinger 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.