ZephyrP
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
12 ms·
- 91.▲
- 92.▲
I like your Prolog solution! I thought I'd take a crack at a Python SAT-solver solution, also done in less than 1 second. from z3 import *
# we use '-1' for empty
instance = ((-1,-1,-1,-1,-1,1,-1,-1,-1,1), - 93.▲
- 94.▲
- 95.▲
- 96.▲
- 97.▲
- 98.▲
- 99.▲
- 100.▲
- 101.▲
- 102.▲
- 103.▲
- 104.▲
Like you, I am also down with OTP (yeah u kno me) and thats why I have to come to you with a harsh message of love: You've been bamboozled. {ok, u_no_me, {down_with, init, [State, Mod, OtherMod, Pid, SomeImportantRefIforget]}, {p - 105.▲
- 106.▲
- 107.▲
- 108.▲
- 109.▲
- 110.▲
- 111.▲
- 112.▲
- 113.▲
- 114.▲
- 115.▲
- 116.▲
- 117.▲
- 118.▲
- 119.▲
- 120.▲
More ›