This commit is contained in:
Oystein Kristoffer Tveit 2022-12-03 13:12:25 +01:00
parent 1f09c45ed8
commit 510a4329bd
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 372 additions and 1 deletions

70
day03/default.nix Normal file
View File

@ -0,0 +1,70 @@
{ pkgs, lib }:
with lib;
let
compartments = pipe (fileContents ./input.txt) [
(splitString "\n")
];
splitAtMiddle = s: {
c1 = substring 0 ((stringLength s) / 2) s;
c2 = substring ((stringLength s) / 2) (stringLength s) s;
};
charsToSet = s: foldl (set: c: set // { ${c} = true; }) { } (stringToCharacters s);
getCommonChar = { c1, c2 }:
findSingle
(c: c2.${c} or false)
"Error: no common chars"
"Error: multiple chars"
(attrNames c1);
mapRange = min: max: f: i: if min <= i && i < max then f i else i;
transformRange = min: max: offset: i: mapRange min max (x: x + offset) i;
charValue = c: pipe c [
lib.strings.charToInt
(transformRange 65 91 (-(65 - 27)))
(transformRange 97 123 (-(97 - 1)))
];
answer1 = pipe compartments [
(map splitAtMiddle)
(map (mapAttrs (_: charsToSet)))
(map getCommonChar)
(map charValue)
(foldr add 0)
toString
];
chunksOf = n: l: if length l <= n
then [l]
else [(take n l)] ++ (chunksOf n (drop n l));
toA123 = l: {
a1 = elemAt l 0;
a2 = elemAt l 1;
a3 = elemAt l 2;
};
getCommonChar2 = { a1, a2, a3 }:
findSingle
(c: a2.${c} or false && a3.${c} or false)
"Error: no common chars"
"Error: multiple chars"
(attrNames a1);
answer2 = pipe compartments [
(chunksOf 3)
(map toA123)
(map (mapAttrs (_: charsToSet)))
(map getCommonChar2)
(map charValue)
(foldr add 0)
toString
];
in pkgs.writeText "answers" ''
Task1:
${answer1}
Task2:
${answer2}
''

300
day03/input.txt Normal file
View File

@ -0,0 +1,300 @@
lflZfgnSnlmmlgGfjGthQPtLNsQhvbHLLpSS
zrCVDVFMJTCTcCJMwCThWbtbpbWpPbtbHPLQssLsHP
rBFcrwFzFwwVDcDrzTzJfnRGjllBdGZnnZfhqmdn
Fjpn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ZZLhZsLLGHhSL
BtTDNggLRPdWQHqggg
wrVpVVlCJVGMMJVdHWSdPSqqRwSQSP
vCVrpvvGjlphBRmZBhmBhBND
lqDcZGcSSqSqbDnccSLJgHgLRfnvvJRLmvWJ
FVCFPChQzVhmsFBgddRgJBfdNfJdfv
FzCpmTQzjQCThppTSttqDccMTDGcDG
QCSGBGCrCsMBTCQwMGSfvvLNNnnVLDlNVNDdVdlr
ZHtPffjWbqgtmnNdvljFnFhdVv
JRWbmgmRJtmJMGGwSBBRRRfQ
LqNrCfCQQhtgnPnc
JWBrWrVlbWgbbtcb
VwvTBprdrVJVNLNMNNqfqpjN
bjVqdHrdqVHPsPNbqHbqNdjFGRwRGlttRtMtRtFFGMLHJw
cfSpZnBZWQBZJlGRJJcwGMGL
WWBhTMgDTZghVjgjssbrbddd

View File

@ -8,6 +8,7 @@
packages.${system} = {
day01 = pkgs.callPackage ./day01 {};
day02 = pkgs.callPackage ./day02 {};
day03 = pkgs.callPackage ./day03 {};
};
};
}