Giter Club home page Giter Club logo

advent-of-code-c-2023's Introduction

Advent of Code 2023 in C ๐ŸŽ„

Welcome to my Advent of Code 2023 repository!

This is a collection of my solutions to the fantastic puzzles of AOC 2023.
These solutions have been coded in the C programming language.

Unfortunately I did not solve all puzzles, better luck next year :)

Table of contents

Directory Structure

/day01
โ”œโ”€โ”€ input.txt
โ”œโ”€โ”€ day01_part1.c
โ”œโ”€โ”€ day01_part2.c
/day02
โ”œโ”€โ”€ input.txt
โ”œโ”€โ”€ day02_part1.c
...

Each day's directory contains an input.txt file with the puzzle input and two dayx_partx.c files containing the C code for solving part 1 and 2 of the challenges.

Getting Started

To get started with these solutions, clone the repository using the following command:

git clone https://github.com/your-username/advent-of-code-2023-c.git

Make sure to replace your-username with your username ๐Ÿ˜Š

Compiling and Running the Solutions

Navigate to the specific day's directory, compile the C code, and run the executable:

cd day01
gcc day01_part1.c -o solution
./solution

Notes and Considerations

This is my first time participating in the AOC.

I started learning C on September 2023. Therefore, my knowledge is limited, and my code will most certainly be messy.

Feel free to make any suggestions; it's greatly appreciated ๐ŸŒŸ

Input files are named input.txt, and the code assumes the puzzle input is available there.

Sometimes, however, when the puzzle input is quite short, I include it in the solutions. In that case, the input.txt file will not be necessary for the code to work.

How to Contribute

Contributions are more than welcome! If you'd like to leave your touch in this project, please follow the typical guidelines:

  1. Fork the repository.
  2. Create a new branch for your magical code.
  3. Make your changes and submit a pull request.
  4. Include a clear description of what you did.

License

This project is licensed under the MIT License.

advent-of-code-c-2023's People

Contributors

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