Follow

Can you solve the riddle? My answer is under CW 

1) First fill the 5L then pour that into the empty 3L until it is at the rim, now you have 2L of water in the 5L bucket and a full 3L bucket.

2) Pour out the 3 liter bucket leaving you with 2L in the 5L and an empty 5L

3) Pour the 2L from the 5L bucket to the 3L bucket leaving you with an empty 5L bucket and 2L in the 3L bucket

4) Fill the 5L bucket and pour it out into the 3L bucket until it is full. This leaves 4L in the 5L bucket, problem solved.

@math

Josh  
[Riddle] A master asks his student to fetch 4 Liters of water from a nearby spring. There are only 2 pails however: a 3 liter and 5 liter pail. Ho...
Β· Β· 1 Β· 3 Β· 0

Can you solve the riddle? My answer is under CW 

@freemo @math there’s an algorithm for these, it showed up in a CTF once f00l.de/blog/def-con-ctf-2013-

Can you solve the riddle? My answer is under CW 

@bonzoesc

these style of problems arent particularly hard, rediscovering such an algorithm from scratch I feel would be rather trivial honestly.

@math

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.