Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 4.89 KB

README.md

File metadata and controls

93 lines (73 loc) · 4.89 KB

Advent of Code

Table of Contents

Overview

This repo contains my solutions to the AdventOfCode problems using Python3. The challenge is attempted to take part in the Chingu 2023 Holiday Hackathon event.

The solutions are modified with new variable names to improve readability but the logic remains the same as the original code I used to solve the puzzles.

Results

Day Stars Part 1 Rank Part 2 Rank
Day 25 ⭐️⭐️ 00:18:26 239 00:19:14 235
Day 24 ⭐️⭐️ 01:16:11 1959 02:01:53 820
Day 23 ⭐️⭐️ 01:01:40 2427 01:29:40 980
Day 22 ⭐️⭐️ 00:38:04 582 00:57:55 741
Day 21 ⭐️⭐️ 01:25:17 5021 02:06:30 710
Day 20 ⭐️⭐️ 00:56:15 1389 01:19:45 780
Day 19 ⭐️⭐️ 00:34:48 2171 00:52:09 740
Day 18 ⭐️⭐️ 00:26:33 1311 00:37:18 507
Day 17 ⭐️⭐️ 00:29:11 687 00:35:47 557
Day 16 ⭐️⭐️ 00:21:27 776 00:30:52 1001
Day 15 ⭐️⭐️ 00:14:56 4866 00:21:00 1009
Day 14 ⭐️⭐️ 00:33:52 5030 01:03:17 2510
Day 13 ⭐️⭐️ 00:17:20 767 00:30:47 1024
Day 12 ⭐️⭐️ 00:38:11 2606 00:43:40 701
Day 11 ⭐️⭐️ 00:13:27 932 00:23:41 1375
Day 10 ⭐️⭐️ 00:47:48 3113 01:38:44 1805
Day 09 ⭐️⭐️ 00:11:59 1725 00:15:20 1553
Day 08 ⭐️⭐️ 00:21:59 6289 00:27:56 1470
Day 07 ⭐️⭐️ 00:35:33 3397 00:42:42 2020
Day 06 ⭐️⭐️ 00:29:25 8986 00:40:10 9067
Day 05 ⭐️⭐️ 00:51:33 6608 01:09:25 1882
Day 04 ⭐️⭐️ 00:18:40 7065 00:56:30 8785
Day 03 ⭐️⭐️ 02:11:55 12604 02:36:13 10798
Day 02 ⭐️⭐️ 00:37:38 8400 00:49:17 8606
Day 01 ⭐️⭐️ 00:10:43 5253 01:17:53 8382

Getting Started

These instructions will help you run the code in your local environment.

Prerequisites

Before starting, you need to install the following on your computer.

Python Git

Running Code

  1. Clone the repository
    git clone https://github.com/itzmidinesh/advent-of-code.git
  2. Run cd advent-of-code to change the working directory.
  3. Place the input data from AdventOfCode into the file input.txt.
  4. Run the following in the terminal to install dependencies using pip.
    pip install -r requirements.txt
    Note: This step is needed only for running Day 24 & Day 25 scripts.
  5. Run the following in your terminal or command prompt to run the script.
    python 2023\day_xx
    Note: Replace xx with the day of the challenge you are trying to solve. i.e., 01, 02, etc.
  6. The solution for both parts of the challenge for the day would be printed in the terminal.

Screenshots

Here is an example screenshot of how to run the script in the terminal/command prompt.

Example Screenshot

Acknowledgments

Heartfelt thanks to Eric Wastl for creating the brilliant AdventOfCode platform, where the joy of coding meets festive challenges. Immense gratitude to the dedicated sponsors whose support makes the magic of AdventOfCode possible.

About Chingu

This repo was made for Chingu 2023 Holiday Hackathon. If you aren’t yet a member of Chingu we invite you to join us. We help our members transform what they’ve learned in courses & tutorials into the practical experience employers need and want.