Skip to content

Instantly share code, notes, and snippets.

@nulldatamap
Created December 5, 2018 11:51
Show Gist options
  • Save nulldatamap/fc134332d3bc6244be4513e8b441ee8d to your computer and use it in GitHub Desktop.
Save nulldatamap/fc134332d3bc6244be4513e8b441ee8d to your computer and use it in GitHub Desktop.
+¨⎕csv'1.txt' Day 1 part 1
p/(pp)p+\2E5¨,⎕csv'1.txt' Day 1 part 2
×/+/2 3.{}¨,⎕csv '2.txt' Day 2 part 1
p/25=¨p,.{/=},⎕CSV'2.txt' Day 2 part 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment