Skip to content

shibam05/Advent-of-Code-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

🎄 Advent of Code [2024] 🎄

Advent of Code

Welcome to my solutions for Advent of Code [Year]. This repository contains my attempts at solving the daily programming puzzles throughout the event.

📝 Description

Advent of Code is an annual programming challenge that runs from December 1 to December 25. Each day, a new problem is released, and participants earn stars ⭐ for solving the challenges.


📂 Repository Structure

The repository is organized by days, with each day's solution in its respective folder:

📂 advent-of-code-[year] ├── 📁 day01 │ ├── input.txt │ ├── part1.py │ ├── part2.cpp ├── 📁 day02 │ ├── input.txt │ ├── part1.cpp │ ├── part2.py ...

  • input.txt: The unique input for that day's challenge.
  • part1.py / part2.cpp: Solutions for part 1 and part 2 of the problem.

🚀 How to Run

  1. Clone this repository:

    git clone https://github.com/yourusername/advent-of-code-[year].git
    cd advent-of-code-[year]
  2. Navigate to the day you want to run:

    cd day01
  3. Run the solution script:

    • For Python:
      python part1.py
    • For C++ (after compiling):
      g++ part2.cpp -o part2 && ./part2

🛠️ Tools and Languages

  • Python
  • C++

🔗 Useful Links

About

Advent of Code | 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published