Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Advent Of Code 2022 in Python

NotificationsYou must be signed in to change notification settings

Salominius/AdventOfCode2022

Repository files navigation

AdventOfCode2022

This year I decided to solve AdventOfCode using Python before I am going to put myself through the pain of doing it with C++ or Rust next year :)

Structure

  • helpers contains a default-template for new days and helper-functions.I will probably add more generic functions there, as the days get more difficult.ImportHelpers.getInput() is my default input-import-function. It reads the day # from the fileName (...#.py) and returns the content ofinputs.input#.txt as String
  • inputs contains all inputs in numbered files (input#.txt).
  • Thedays are stored in the base-directory asDay#.py.

Run

The code can be cloned to any folder and be run immediately without any parameters. Each day will print the results to the console.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp