aboutsummaryrefslogtreecommitdiff
path: root/day2.k
blob: 1e5e9fd35146f16f8746ce7dd1dbec79f3d9dfeb (plain) (blame)
1
2
3
4
5
6
7
d:+("III";"x")0:"day2";

+/{(&/x*1!x) + x _dot 2*1!x}'d / total wrapping paper

r:{2*+/2#x@<x}'d; / ribbon
b:*/'d; / bow
+/(r+b) / total ribbon