𓁟 host1.bitchan.one

+⧖>Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 22 hours and 37 minutes remain. >Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 22 hours and 37 minutes remain.
𓀐 @8pqAgBxt: edition 1: >Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other. https://adventofcode.com/ /g/ leaderboard join code: 224303-2c132471 anonymous-only leaderboard: 383378-dd1e2041 lets hope eric does not phone it in this year

>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

⧖expiring0/2 kept2d ago

𓀐 @8xL9-_CH

⏱ 2d 👍 0

⬆ upvote 0

[⇥] sort oldest ⏱
filter [-]
𓀐 @b7ZDfBig: because he phones this shit in to get the paypiggy money I see gold, blue and dark grey.+

⬆ upvote 0↩ reply 0