Skip to content

entibo/advent-of-code-golf-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitpod Ready-to-Code

advent-of-code-golf-2019

  • A program can read the input from variable IN and should write the output in OUT (initially 0)
  • Early exit can be achieved by accessing the variable EXIT
  • ./run 3 will run ./js/3.js against the input currently in ./input.txt

Example: Day 1, Part Two

IN.split('\n').map(m => { while(m = m / 3 - 2 ^ 0, m > 0) OUT += m })

About

A modest attempt at "code golfing" the problems of https://adventofcode.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages