pull down to refresh
Laaaaaaaaaaaaame!
reply
Brute force is my favorite approach, because I like saying the words "brute force"
reply
It does sound cool
reply
pull down to refresh
Laaaaaaaaaaaaame!
Brute force is my favorite approach, because I like saying the words "brute force"
It does sound cool
I brute forced it:
for x2 in range(20, 100): for x1 in range(35, 100): y = x1*x2 if y<1000 or y>9999: continue if str(y)[2]!='1': continue z1 = x1 * int(str(x2)[1]) z2 = x1 * int(str(x2)[0]) if z1 < 10 or z1 > 99: continue if z2 < 10 or z2 > 99: continue print(f"{x1} * {x2} = {y}")46 * 22 = 1012