Skip to content

teodorpopa/advent-of-code-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advent-of-code-go

Resolving all Advent of Code challenges in GO.

Prerequisites

Make sure you have Go >= 1.21.4.

Clone the repository

git clone git@github.com:teodorpopa/advent-of-code-go.git

Test the solutions

To test the solutions for a specific year/day, you need to run the following command:

make test year=2023 day=01

Compile and run

To run a solution, you need to provide some arguments.

  • the --year flag must be set to specify the year of the challenge
  • the --day flag must be set to specify which day's solution should run
  • the --part flag specifies if you only want to run a specific part. by default both parts will run

make command:

make run year=2023 day=13

go command:

go run main.go --year=2023 --day=13

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published