Remove unnecessary code
This commit is contained in:
@@ -6,7 +6,7 @@ let
|
||||
totalsPerElf = map sum elfCalories;
|
||||
|
||||
part1 = maxList totalsPerElf;
|
||||
part2 = sum (topOfList 3 (sortList totalsPerElf));
|
||||
part2 = sum (take 3 (sortList totalsPerElf));
|
||||
in {
|
||||
inherit part1;
|
||||
inherit part2;
|
||||
|
||||
Reference in New Issue
Block a user