r/adventofcode • • Dec 03 '15

SOLUTION MEGATHREAD --- Day 3 Solutions ---

--- Day 3: Perfectly Spherical Houses in a Vacuum ---

Post your solution as a comment. Structure your post like the Day One thread in /r/programming.

22 Upvotes

228 comments sorted by

View all comments

Show parent comment

1

u/somopeyabout79 Dec 03 '15

supplierCnt is the parameter for the calc function:

function calc(supplierCnt) {

I hope that helps a little bit. :)