diff --git a/2023/2-2.nix b/2023/2-2.nix index ad169ae..7efbf14 100644 --- a/2023/2-2.nix +++ b/2023/2-2.nix @@ -7,7 +7,7 @@ with builtins; with lib; rec { maxRGB else getMaxRGB { maxRGB = mapAttrs (name: max (head rgbs).${name} or 0) maxRGB; - rgbs = sublist 1 (length rgbs - 1) rgbs; + rgbs = tail rgbs; }; makeOneIfZero = number: if number == 0 then 1 else number;