Skip to content

Yaxit/advent-of-code-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2023 Solutions in Rust 🦀

Advent of Code Language License

This repository contains my solutions for the Advent of Code 2023 challenges implemented in Rust. Advent of Code is an annual coding event with daily programming puzzles to solve in the days leading up to Christmas.

Table of Contents

Introduction

Each directory in this repository corresponds to a specific day of the Advent of Code challenge. Inside each directory, you'll find the Rust source code for solving that day's puzzle. The solutions are organized in a way that makes it easy to navigate and understand.

Directory Structure

The repository is organized as follows:

/advent_of_code_2023
  ├── 01
  │   ├── input.txt
  │   ├── input_short.txt
  │   ├── src
  │   │   ├── main.rs
  │   │   └── ...
  │   └── ...
  ├── 02
  │   ├── input.txt
  │   ├── input_short.txt
  │   ├── src
  │   │   ├── main.rs
  │   │   └── ...
  │   └── ...
  └── ...
  • Each day's directory contains an input.txt file with the full puzzle input and an input_short.txt file with the initial snippet provided in the puzzle text.
  • The src directory within each day contains the Rust source code (main.rs) for solving the puzzle.

Getting Started

  1. Clone this repository to your local machine:
git clone https://github.com/Yaxit/advent-of-code-2023.git
  1. Change into the cloned directory:
cd advent-of-code-2023
  1. Start exploring the solutions!

Running Solutions

Navigate to the specific day's directory you want to run and execute the following command:

cd 01  # Change to the desired day's directory
cargo run -- input.txt

Replace 01 with the appropriate day's directory.

License

This project is licensed under the MIT License - see the LICENSE file for details. Feel free to use and modify the code as you see fit. Happy coding!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages