π“Ÿ host1.bitchan.one

𓀐 @8xL9-_CH

⏱ 2d seenβ›“ 0πŸ‘ 0β§– 1

filter [-]

languages:onother

>import solution from collections import Counter from functools import reduce from operator import mul with open('p01.txt') as fh: nums = Counter(int(l) for l in fh.readlines()) mc = [n for n, _ in nums.most_common()] print(reduce(mul, mc[:3])) print(reduce(mul, mc[-3:])) why does he bother with these day 1 shits. if there's only 12 days fuckin lets go⏱ 2d↩ 1