8000 GitHub - fyrchik/aoc2020zig: Advent of Code 2020 solutions in Zig
[go: up one dir, main page]

Skip to content
This repository has been archived by the owner. It is now read-only.

fyrchik/aoc2020zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020 solutions in Zig

Structure

main.zig contains code for main runner.

src/dayX.zig contain solutions for each day. Every file has 2 public functions runPart1 and runPart2 for parts 1 and 2 respectively.

Run

  1. Change needed day in main.zig.
  2. cat input | zig build run.

Test

zig test src/dayX.zig

At some point tests are written only for examples, because I had no time.

About

Advent of Code 2020 solutions in Zig

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0