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

This repository contains solutions for Advent Of Code puzzles and cli tool to run solutions to get answers for input on site.

License

NotificationsYou must be signed in to change notification settings

obalunenko/advent-of-code

GitHub go.mod Go versionGoDocLatest release artifactsLint & Test & Build & ReleaseLintTest & BuildGo Report CardcodecovQuality Gate Statuscoverbadger-tag-do-not-edit

advent-of-code

Advent of Code is an Advent calendar of small programming puzzles for avariety of skill sets and skill levels that can be solved in any programming language you like.People use them as aspeed contest, interview prep, company training,university coursework, practice problems,or tochallenge each other.

This repository contains solutions for puzzles and cli tool to run solutions to get answers for input on site.

Implemented solutions

2024 Results

DayPart 1Part 2
Day 1

2023 Results

DayPart 1Part 2
Day 1

2022 Results

DayPart 1Part 2
Day 1

2021 Results

DayPart 1Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7

2020 Results

DayPart 1Part 2
Day 1
Day 2

2019 Results

DayPart 1Part 2
Day 1
Day 2
Day 3
Day 4

2018 Results

DayPart 1Part 2
Day 1
Day 2

2017 Results

DayPart 1Part 2
Day 1
Day 2

2016 Results

DayPart 1Part 2
Day 1
Day 2

2015 Results

DayPart 1Part 2
Day 1
Day 2
Day 3

Usage of aoc-cli

  1. Download binary fromLatest release artifacts

  2. Yourhttps://adventofcode.com session token isrequired for downloading and caching the inputs.

  3. Set your Advent of Code session token in the environment variableAOC_SESSION, or pass explicitly via-session flag duringaoc-cli execution

  4. Runaoc-cli run and follow instructions

Cli support optional metrics, to enable them you can use following flags:

    --elapsed, -e  Enables elapsed time metric    --bench, -b    Enables benchmark metric

All available flags, commands and usage:

USAGE:   aoc-cli [global options] command [command options] [arguments...]   COMMANDS:   run      Runs advent-of-code application   help, h  Shows a list of commands or help for one commandGLOBAL OPTIONS:   --help, -h     show help (default: false)   --version, -v  print the version (default: false)   NAME:   aoc-cli run - Runs advent-of-code applicationUSAGE:   aoc-cli run [command options] [arguments...]OPTIONS:   --elapsed, -e              Enables elapsed time metric (default: false)   --bench, -b                Enables benchmark metric (default: false)   --session value, -s value  AOC auth session to get inputs (default: "<will get value from env ${AOC_SESSION} by default>") [$AOC_SESSION]   --help, -h     show help (default: false)

Demo

asciicast

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp