r/adventofcode • • Dec 04 '16

SOLUTION MEGATHREAD --- 2016 Day 4 Solutions ---

--- Day 4: Security Through Obscurity ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).


CONSTRUCTING ADDITIONAL PYLONS IS MANDATORY [?]

This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.

edit: Leaderboard capped, thread unlocked!

16 Upvotes

168 comments sorted by

View all comments

Show parent comment

2

u/John_Earnest Dec 04 '16 edited Dec 04 '16

It's possible that difference is a k6 bug or unimplemented feature. Seems to work for scalars but not vectors:

 ("abc"!1 2 3)-2
"abc"!-1 0 1
 ("abc"!1 2 3)-2 2 2
"abc"!0N 0N 0N

I'll see what Arthur thinks.