Skip to content

AmalkrishnaAS/Advent-Of-Code-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2025 🎄

Language Event

License

My solutions for Advent of Code 2025 implemented in C++.

AboutProgressStructureUsage


About

Advent of Code is an annual set of Christmas-themed computer programming challenges that follow an Advent calendar. It has been running since 2015. The puzzles unlock daily at midnight EST/UTC-5 from December 1st to December 12th.

This repository contains my personal solutions, written in C++, focusing on efficiency and clean code.

📅 Progress

Day Challenge Solution
01 Secret Entrance Solution
02 Gift Shop Solution
03 Lobby Solution
04 Printing Department Solution
05 Cafeteria Solution
06 Trash Compactor Solution
07 Laboratories Solution
08 Playground Solution
09 Movie Theater Solution
10 Factory Solution
11 Reactor Solution

📂 Structure

The repository is organized by day. Each directory contains the solution source code, input files, and the compiled binary.

For days where the solution for Part 2 requires a different approach or significant changes, the directory is split into part1 and part2.

📦 adventofcode-2025
 ┣ 📂 01
 ┃ ┣ 📜 input.txt
 ┃ ┣ 📜 sample.txt
 ┃ ┗ 📜 solution.cpp
 ┣ 📂 06
 ┃ ┣ 📂 part1
 ┃ ┃ ┗ 📜 solution.cpp
 ┃ ┗ 📂 part2
 ┃   ┗ 📜 solution.cpp
 ┗ 📜 README.md

🛠️ Usage

Prerequisites

  • A C++ compiler (e.g., g++, clang++) supporting C++17 or later.

Running a Solution

Navigate to the specific day's directory and compile the solution.

# Navigate to the day's folder (e.g., Day 1)
cd 01
# If the day is split into parts, navigate to the specific part
# cd part1

# Compile the solution
g++ -std=c++17 solution.cpp -o solution

# Run the solution
./solution

Note: The solutions are designed to read from input.txt located in the same directory. Ensure the file exists before running.

📜 License

This project is licensed under the MIT License. Advent of Code puzzles and inputs are property of Advent of Code.

About

Solutions for advent of code 2025

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages