Giter VIP home page Giter VIP logo

adventofcode2023's Introduction

adventofcode2023

These are my solutions for the advent of code challenges of the year 2023.

Keep in mind that the solutions provided here most of the time do not follow clean code or any other quality metrics, as I try to solve the tasks as quickly as possible.

Requirements

These scripts require python 3.10 to run, as some features introduced in that version are used.

Installing

To install the requirements, if a requirements.txt exists, run:

pip install -r requirements.txt

If you want to use this script to create folders and download inputs for new days:

  • Log in to AOC in a browser
  • Run aocd-token in a console. This searches for the session cookie of your login and stores it in ~/.config/aocd/token. It's used to download the current days input (see https://pypi.org/project/advent-of-code-data/).
  • Now you can use python create.py to download the next available day.

Running

To run all days, just run:

python main.py

To run just one day, run:

python main.py <number_of_day>, e.g. python main.py 11

adventofcode2023's People

Contributors

ohaz avatar

Watchers

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