News for hackers. Stuff that matters.
Re:The Logic Puzzle You Can Only Solve with Your Brightest F... by benmmurphy on Tuesday July 17, 2018 @06:24AM (#17548619)
I have a solution to the puzzle in Rust:

https://play.rust-lang.org/?gist=c56bd7d745ffcc90d59e4801e41...

    new_common_knowledge of A: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
    new_common_knowledge of B: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
    new_common_knowledge of A: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
    new_common_knowledge of B: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
    new_common_knowledge of A: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
    new_common_knowledge of B: [6, 7, 8, 9, 10, 11, 12, 13, 14]
    new_common_knowledge of A: [6, 7, 8, 9, 10, 11, 12]
    new_common_knowledge of B: [8, 9, 10, 11, 12]
    A announces: 20

There are no comments on this comment yet.