8000 GitHub - kyflores/aoc: Advent of Code
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kyflores/aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

aoc

Advent of Code

Usage

usage: runner.py [-h] [-i INPUT] [-b] [-t] problem

positional arguments:
  problem               Problem number. Pass like 17-a

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to input file. It will be loaded as a string.
  -b, --bench           Benchmark the solution.
  -t, --test            Run tests

Follow these naming conventions for runner to work.

  • day#.py for filenames
  • problem_{a,b} for problem functions
  • TestProblem for test cases

Goals

  • Learn more advanced python features:
    • generators
    • context managers
    • decorators

About

Advent of Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0