An open API service indexing awesome lists of open source software.

https://github.com/zerowidth/advent

Advent of Code solutions
https://github.com/zerowidth/advent

Last synced: 10 months ago
JSON representation

Advent of Code solutions

Awesome Lists containing this project

README

          

# Advent of Code

Solutions for https://adventofcode.com.

## Template

```ruby
require_relative "../toolkit"

def solution(input)
result = input.lines.map do |line|
# ...
end

block_given? ? yield(result) : result
end

example = <<-EX
EX

part 1
with(:solution)
try example, 0
try puzzle_input

# part 2
# with(:solution)
# try example, 0
# try puzzle_input
```