Schotts actually provides TLCL for free, and last updated it a month ago:
Schotts provides a free 'internet edition' .pdf of TLCL, last updated 11/1/2024:
I get the joke, but this guy's answer to this is celibacy. I'm only pointing it out cause it makes the whole thing even crazier IMO.
It's not a long lived project, it's a puzzle, and once solved never needs to run again. My objective here is to get the correct answer, not win a style contest.
Can you provide a link to your solution? I'd like to check it out.
python
45s on my machine for first shot, trying to break my will to brute force ๐ . I'll try improving on it in a bit after I smoke another bowl and grab another drink.
solution
import itertools
import re
import aoc
def ltr(e):
r = int(e[0])
for i in range(1, len(e), 2):
o = e[i]
n = int(e[i + 1])
if o == '+':
r += n
elif o == '*':
r *= n
elif o == '||':
r = int(f"{r}{n}")
return r
def pl(l, os):
d = [int(x) for x in re.findall(r'\d+', l)]
t, ns = d[0], d[1:]
ops = list(itertools.product(os, repeat=len(ns) - 1))
for o in ops:
e = str(ns[0])
for i, op in enumerate(o):
e += f" {op} {ns[i + 1]}"
r = ltr(e.split())
if r == t:
return r
return 0
def one():
lines = aoc.get_lines(7)
acc = 0
for l in lines:
acc += pl(l, ['+', '*'])
print(acc)
def two():
lines = aoc.get_lines(7)
acc = 0
for l in lines:
acc += pl(l, ['+', '*', '||'])
print(acc)
one()
two()
I'm not making any judgement in regard to your opinion, or even disagreeing, I thought friends was lame as fuck. I'm merely pointing out that friends is overwhelmingly considered a comedic success, and that our opinion is by definition the unpopular one.
Although you're just being intentionally dense at this point I'll give you another quantifiable fact, the word 'comedy' appears 160 times on this page:
https://en.m.wikipedia.org/wiki/List_of_awards_and_nominations_received_by_Friends
Clearly plenty of people found the series funny, even if you don't.
-
10 seasons,
-
Cast collectively bargains for $1,000,000.00 per episode per cast member for seasons 9 (24 episodes) and 10 (17 episodes).
-
Cast each paid $2,500,000.00 for reunion episode 17 years after finale (2021)
-
Total award wins: 65
-
Total award nominations: 256
-
Spinoff
Unpopular defined ๐
I'm still waiting for my lake city quiet pills.
annoy
๐ค
In general, hard conservative media is free to consume, light conservative (aka 'liberal') media is locked behind a paywall.
python
solution