Skip to content

LucasCzerny/AdventOfCode2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2015 in Odin

My happiness levels for each solution from 1-5: 🥲, 😬, 😌, 😃, 🤩

Part 1 Part 2 Notes
Day 01 part1.odin - 0.130ms - 🤩 part2.odin - 0.044ms - 🤩

How to run

NOTE: You're not allowed to upload your puzzle input to GitHub. If you clone this repo, create a folder called input/ at the root and place your dayxx.txt files inside.

To run a solution:

odin run dayxx

Do not cd dayxx first.

To enable the tracking allocator, which detects memory leaks and bad frees:

odin run dayxx

Note on the runtimes

To measure the speed of each solution, I simply do:

start := time.tick_now()
partx_result := solve_partx(input)
duration := time.tick_since(start)

This is good enough for my purposes and I didn't want to do any sophisticated benchmarking.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages