Select Page
Poker Forum
Over 1,291,000 Posts!
Poker ForumFTR Community

logic puzzle

Results 1 to 65 of 65
  1. #1
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe

    Default logic puzzle

    10l cup, 8l cup, 5l cup.

    Put 9l in the 10l cup.

    Max 8 moves.

    Pouring between cups is 1 move. Emptying cup is 1 move. Filling a cup is 1 move.
    I'm the king of bongo, baby I'm the king of bongo bong.
  2. #2
    Do all cups start off empty?
  3. #3
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Yup.

    I can do it several ways in 9 moves but I'm struggling for 8.
    I'm the king of bongo, baby I'm the king of bongo bong.
  4. #4
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Done it at last. I won't spoil though in case anyone else wants a go.
    I'm the king of bongo, baby I'm the king of bongo bong.
  5. #5
    Nice one. I first found an 11 and 10 step solution, then the 8:

    (10 0 0) - fill 10
    (2 8 0) - 10=>8
    (2 3 5) - 8=>5
    (7 3 0) - 5=>10
    (7 0 0) - empty 8
    (0 7 0) - 10=>8
    (10 7 0) - fill 10
    (9 8 0) - 10=>8
  6. #6
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Urghhh they get harder.

    5, 8, 13. Put 7 in the 8.

    8 moves apparently.
    I'm the king of bongo, baby I'm the king of bongo bong.
  7. #7
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Actually that ones easy.
    I'm the king of bongo, baby I'm the king of bongo bong.
  8. #8
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    8, 11, 16.

    Put 7 in the 8 in 10 moves.

    I've been stuck on this one for a day.
    I'm the king of bongo, baby I'm the king of bongo bong.
  9. #9
    i would fill the 10 liter one up to the 9 liter line.
  10. #10
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Quote Originally Posted by rong View Post
    8, 11, 16.

    Put 7 in the 8 in 10 moves.

    I've been stuck on this one for a day.
    13 steps by the obvious route. I like this one, but am honestly thinking about building a program just to show every branch of the choice tree to highlight the one that gives 7 in 8 in 10 moves.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  11. #11
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    I can do 12 and did 11 once.
    I'm the king of bongo, baby I'm the king of bongo bong.
  12. #12
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    You're so hot right now.

    And only part of that is sarcasm, because I really am stuck at 13.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  13. #13
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Actually I've nailed 11. 16 into 11 twice leaving the two fives, which gives 10 in the 11. Then poor in from the 8. I need a different approach for 10 and my mind can't find it.
    I'm the king of bongo, baby I'm the king of bongo bong.
  14. #14
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Quote Originally Posted by a500lbgorilla View Post
    13 steps by the obvious route. I like this one, but am honestly thinking about building a program just to show every branch of the choice tree to highlight the one that gives 7 in 8 in 10 moves.
    I'm not so sure there is one obvious route. As in there's several routes that you could find obvious and I imagine each of us would typically find one particular route first depending on how you approach it.
    I'm the king of bongo, baby I'm the king of bongo bong.
  15. #15
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    I agree, and I'm willing to show why I found it obvious.

    If you dump into 16 first, you're putting the most fluid on the field and opening up the most useful routes, imo. dumping into 8 only lets you to dump 8 into something else, dumping into 11 just lets you break off 3.

    With 16, you can get to 7 by playing with the 5s.

    (0/8, 0/11, 16/16)
    (0/8, 11/11, 5/16)
    (5/8, 11/11, 0/16)
    (5/8, 0/11, 11/16)
    (5/8, 0/11, 16/16)
    (5/8, 11/11, 5/16)
    (8/8, 11/11, 2/16)
    (0/8, 11/11, 2/16)
    (2/8, 11/11, 0/16)
    (2/8, 0/11, 11/16)
    (2/8, 0/11, 16/16)
    (2/8, 11/11, 5/16)
    (7/8, 11/11, 0/16)

    Anyway, it's obvious to me because 16 is the best guess for doing something useful and the first useful thing to do with it is to start collecting 5s.

    And I recognize that since I don't know the answer I don't know that dumping into 16 first is the best way about it, but this is where I am after paying some good attention.
    Last edited by a500lbgorilla; 11-23-2013 at 07:05 PM.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  16. #16
    You're aware these things are usually pretty easy to solve from a computing point of view?

    They're usually just a case of finding the difference for humans and when you know how you can make the excess it's usually pretty easy trial and error.
  17. #17
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Yeah, it would be a good exercise to direct a computer to solve the problem, and it may well be a better exercise to direct yourself.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  18. #18
    JKDS's Avatar
    Join Date
    Feb 2008
    Posts
    6,780
    Location
    Chandler, AZ
    You could just google the answer too!
  19. #19
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    I'm thinking you're making the mistake of assuming we're as unscrupulous as your fellow lawyers. Us basic folk like to enjoy the benefits of some genuine effort.

    which is to say, google came up with nothing.
    Last edited by a500lbgorilla; 11-23-2013 at 07:31 PM.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  20. #20
    Yeah the quickest way to do this is the way that doesn't involve writing loads of shit down on a note file before thinking "what the fuck am I doing this for, just fill the 8 up, fill the 5 up from the 8, pour what's left in the 8 into the 10, empty the 5 down the sink, rinse and repeat" and have more time to do important shit.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  21. #21
    I can do it in 6.

    Fill the 8 up. That's one move.

    Pick the 5 up, and push it into the 8 cup, displacing 5 litres of water, leaving just 3. That doesn't count as a move because I'm not emptying, filling or pouring.

    There's 3 litres left in the 8. Pour into the 10. That's 2 moves.

    Repeat twice more.

    I'm so fucking clever.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  22. #22
    For a very short time I entertained the idea to write a program that would solve this for all combinations of sizes X Y Z and emount of moves N but then I thought "stop getting so distracted by stuff"..
  23. #23
    In fact I can do it in one move.

    Fill the 10 up. There was a point in time where there was exactly 9 litres in the 10 litre cup.

    Hahaha I win.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  24. #24
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    I woke up at night and had a eureka moment. Can now do it in 10.
    I'm the king of bongo, baby I'm the king of bongo bong.
  25. #25
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    The secret is getting 10 in the 11 in as few moves as possible.
    I'm the king of bongo, baby I'm the king of bongo bong.
  26. #26
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    I got it, also after sleep. I'd bet there's a higher chance of getting the answer after sleep (> after putting it down for a while > after working on it consecutively for some time)
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  27. #27
    Quote Originally Posted by rong View Post
    8, 11, 16.

    Put 7 in the 8 in 10 moves.

    I've been stuck on this one for a day.
    You wanker. I'm thinking about this now.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  28. #28
    Well it didn't take long to get to 11
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  29. #29
    I got it in ten if we can allow the 8 to overflow when pouring a full 11 cup into it, thus emptying the 11.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  30. #30
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Ong, try sleeping.
    I'm the king of bongo, baby I'm the king of bongo bong.
  31. #31
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    They're from an Android app called either water puzzle or water logic. It's free. There are 30 levels getting progressively harder. If you like logic puzzles it's a great little app to kill some time with.

    It's nearly as good as lazors, which is possibly the greatest logic game ever, ever.
    I'm the king of bongo, baby I'm the king of bongo bong.
  32. #32
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    In fact, if you're really geeky and like logic games and competition, we could all dl it at the same time and race to get through levels. No way to police for cheating but you'd have to be a right loser to cheat, hmm maybe to even play.
    I'm the king of bongo, baby I'm the king of bongo bong.
  33. #33
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Gotta give us time to work through Lazors and Water Puzzle first.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  34. #34
    lol apps, I fucking hate phones. I've never had a smartphone, don't want one. Last phone I had was a shitty old model a friend gave me so I could be contacted outside of facebook. And that's broke now after I had to dive into the sea to pull my friend out who got put on her arse by a monster wave that also soaked our fucking coats. That was a fun night.

    I'll look into lazors over the weekend.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  35. #35
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    I'm the king of bongo, baby I'm the king of bongo bong.
  36. #36
    Grunch and without counting how many moves this is, this is my first stab at it:

    Fill 8L
    Pour into 10L
    Fill 8L
    Pour into 10L until full
    Pour remainder of 8L (6L) into 5L until full
    Pour remaining 1L into 10L
    Fill 8L
    Pour into 10L

    You now have 9L in the 10L.
  37. #37
    Okay, so I've counted the steps. You obviously have to empty the 10L before performing step 6 (pouring what's left in the 8L into the 10L), so I count 9 steps (if I'm counting right).

    I love such puzzles though, so I will obviously try again whilst still Grunching.
  38. #38
    Another way to do it (still grunching, still not counting steps):

    Fill 10L
    Pour into 8L until full
    Empty 8L
    Pour remainder of 10L (2L) into 8L
    Fill 10L
    Pour into 8L until full
    Pour remainder of 10L (4L) into 5L
    Fill 10L
    Pour 10L into 5L until full

    You now have 9L remaining in the 10L.
  39. #39
    Fuck, 9 moves again, and I feel like I've mentally eliminated all the most likely seeming permutations. I'll start from scratch. -.-
  40. #40
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    A helpful way of figuring it out is to write down 2 numbers for every glass, ie if a 10l glass has 7l in it, the two key numbers are 7 & 3, which I always write as 7(3) because then you have a clear and easy to read way of stating the muber you can add to another glass and the number you can subtract from another glass.
    I'm the king of bongo, baby I'm the king of bongo bong.
  41. #41
    Figured it out:

    Fill 5L
    Pour 5L into 8L (8L's now has 3L left in it)
    Fill 10L
    Pour 10L into 8L until full (10L now has 10L-3L = 7L left)
    Empty 8L
    Pour remainder of 10L (7L) into 8L (8L now has 1L of capacity left)
    Fill 10L
    Pour 10L into 8L until full (10L-1L = 9L left)

    Hurray.
  42. #42
    So my method for these sorts of things is to start with what I know about the first few moves of the puzzle and what I know about what the last few moves will have to be, and solve from there.

    There are two ways to get to 9L: either have 1L of excess (and then all you have to do is add that to the 8L; like I did in my first solution) or have 1L of dearth (and then empty a full 10L until it's full, like I did in the final solution).

    Then, starting from the beginning, there are only so many permutations (filling one of the 3 jugs and pouring it into one of the remaining 2 jugs; only 6 ways to start out, really), and just kinda guess which ones seem the most likely to get me to +1 or -1.

    So basically, you can 1) fill the 8L first, and your options are to 1a) pour that into the 5L. This gives you 3L remaining, which I noticed very quickly you can get 3L several different ways, so in a puzzle that only has 1 solution, I just assumed it wasn't the best starting place. 1b) You can pour into the 10L, which leaves you 2L of space that you can use to get to 3L (pouring the 5L into it; there's an easier way to get 3L, so I assumed this was worthless) or 6 (pouring the 8L into it again). Hurray, 6L is 1L excess of the 5L bottle, so we have a solution (this was my first solution), but you just can't do it in 8 steps.

    2) You can fill the 5L first, and from there you can 2a) fill into the 10L, but that's a worthless move because it just gives you 5L of water (which you can simply get by filling the 5L jug) and 5L of capacity (which you have from the start with the 5L jug). 2b) Fill the 8L, which gives you that number 3 again, which you can get a bunch of different ways. Or so I thought; this is why I had to start from scratch because this is actually a capacity of 3, not an excess of 3, and having a capacity of 3 is unique to this permutation and does in fact get you to 9 quickly.

    3) Fill the 10L first, then 3a) fill the 5L jug, which gives you that worthless +5 and -5 situation again (see 2a), or 3b) fill in the 8L and have 2 left over, which if you add to 5, you get 7 which SUCCESS! is one short of 8, so you can solve that way. That's actually a variation on what I did (I just did the 5 -> 8 part first instead of 10 -> 8 part first).

    So yeah, I guess just knowing where you're trying to get to and then using a rough process of elimination, and only moving onto the "possible but unlikely" scenarios once all your likely scenarios are exhausted.

    Not that anyone's looking for advice on logic puzzles or cares how I do them, but whatever, the post is typed out now, I might as well push enter.
  43. #43
    Nearly had it,
    then some clumsy idiot knocked my cups over.
    . . .
    (much easier to do it physically than on paper)
  44. #44
    i fill the 10L up all the way. then stick my cock in to displace 1L of water.

    ok i lied, i have to stick in my balls too.
  45. #45
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    but, the cool puzzle was the 16 11 8 one.

    Anyway, dl'ed lazors and water logic. Cracked into them a bit. I wish lazors imposed some move limit. When I feel stuck, I can just keep pawing at the board until it works itself out and it doesn't seem all that rewarding.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  46. #46
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Quote Originally Posted by rong View Post
    Ong, try sleeping.
    Sarcasm aside, I had a hint behind my position. I wouldn't be surprised if it were true that people were more likely to solve these sorts of things after working on them and then sleeping.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  47. #47
    Quote Originally Posted by a500lbgorilla View Post
    Sarcasm aside, I had a hint behind my position. I wouldn't be surprised if it were true that people were more likely to solve these sorts of things after working on them and then sleeping.
    Yup sleep is basically your brain going "finally I get some peace and quiet to figure out what happened today".
  48. #48
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Quote Originally Posted by jackvance View Post
    Yup sleep is basically your brain going "finally I get some peace and quiet to figure out what happened today".
    I like to think of it as forgetting the worthless bullshit and most of the good stuff, leaving behind only the really good stuff.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  49. #49
    Quote Originally Posted by a500lbgorilla View Post
    I like to think of it as forgetting the worthless bullshit and most of the good stuff, leaving behind only the really good stuff.
    Science agrees with you. The memories you remember are formed in your sleep. But there's also a lot of mental processing going on, useful stuff happens. So I'd say, both.
  50. #50
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Quote Originally Posted by a500lbgorilla View Post
    but, the cool puzzle was the 16 11 8 one.

    Anyway, dl'ed lazors and water logic. Cracked into them a bit. I wish lazors imposed some move limit. When I feel stuck, I can just keep pawing at the board until it works itself out and it doesn't seem all that rewarding.
    well stop doing that. Think instead.

    It's a rather short game so don't waste it by allowing chance to finish it for you.
    I'm the king of bongo, baby I'm the king of bongo bong.
  51. #51
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Actually with the earlier levels you can't really help but do that but with the harder ones you have to think more.
    I'm the king of bongo, baby I'm the king of bongo bong.
  52. #52
    Quote Originally Posted by rong View Post
    Actually with the earlier levels you can't really help but do that but with the harder ones you have to think more.
    #indiegamemovie
  53. #53
    hey guys i found a better use of your time

    wanking
  54. #54
    Quote Originally Posted by eugmac View Post
    hey guys i found a better use of your time

    wanking
    I dunno, I only have two wanks a day in me.
    Quote Originally Posted by wufwugy View Post
    ongies gonna ong
  55. #55
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Quote Originally Posted by rong View Post
    well stop doing that. Think instead.

    It's a rather short game so don't waste it by allowing chance to finish it for you.
    Technically, it is thinking as there's a brain commanding those actions. I can't help it that my subconscious has a knack for solving these things.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  56. #56
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Ok, you're right, but the value of the game doesn't come from those games. It comes from the really complex ones later on in the game where you'd be very unlikely to stumble on the solution.
    I'm the king of bongo, baby I'm the king of bongo bong.
  57. #57
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    I take it back. It is not a great game. It is a ridiculously frustrating game and I can't believe that having been through the ordeal of completing it once I've actually downloaded it again.
    I'm the king of bongo, baby I'm the king of bongo bong.
  58. #58
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    I'm towards the end of water cup, I just passed the puzzle that got me interested in this thread (got it on my first try!)

    I'm also goodly stuck in lazors on grande: 6.

    Hopefully you're hunting for the next good logic app.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  59. #59
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Grande 6 took me about 2 minutes but mad 6, which you're long past, has stopped me from pregressing.
    I'm the king of bongo, baby I'm the king of bongo bong.
  60. #60
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    Got grande 6 immediately after reading your post.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  61. #61
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Mad 7 is a pain in the ass. I've found the whole mad section quite tricky.
    I'm the king of bongo, baby I'm the king of bongo bong.
  62. #62
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    If I just quit doing work entirely I can lick these lazors by c.o.b. Almost done with glassware.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  63. #63
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    That lazors rush was a lot of fun. Done with water logic basics too.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>
  64. #64
    rong's Avatar
    Join Date
    Nov 2008
    Posts
    9,033
    Location
    behind you with an axe
    Basics is the only interesting one in the water game.

    I'm not aware of any other logic games as entertaining and satisfying as either of those two.
    I'm the king of bongo, baby I'm the king of bongo bong.
  65. #65
    a500lbgorilla's Avatar
    Join Date
    Sep 2004
    Posts
    28,082
    Location
    himself fucker.
    They were a good time. I remember the first day I started on lazors, I got caught on a puzzle and had a friendly dream reminiscent of lazors with a psychedelic colorpad of yellow greens, dull oranges, and dirty purples. I managed to solve the puzzle I was stuck on the moment I got to the morning loo.
    <a href=http://i.imgur.com/kWiMIMW.png target=_blank>http://i.imgur.com/kWiMIMW.png</a>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •