Skip to content

Can you solve the legendary water riddle from the movie 'Stirb langsam 3'?

This puzzle is known from the movie 'Die Hard: With a Vengeance' with Bruce Willis and Samuel L. Jackson. Can you solve the famous movie task?

Here is some simple code in Python:

MAX = 100
N = int(input('Enter the number of terms: '))

if N...
Here is some simple code in Python: MAX = 100 N = int(input('Enter the number of terms: ')) if N > MAX: a = ['Error'] else: a = [0] * (N + 1) for i in range(1, N + 1): a[i] = a[i - 1] + a[i - 2] print('The Fibonacci sequence with %d terms is: %s' % (N, str(a)))

Hard Nut - Can you solve the legendary water riddle from the movie 'Stirb langsam 3'?

## Solution to the Water Puzzle from "Die Hard: With a Vengeance"

Solution: The five-liter canister is filled completely with water and then poured into the three-liter canister. The three-liter canister is then filled up. The two liters that remain in the five-liter canister are poured into the three-liter canister. The five-liter canister is filled up again. Now there are five liters in the large canister and two liters in the small one. When the five-liter canister is used to fill the three-liter canister until it is full, exactly four liters will be left in the five-liter canister.

After solving the water puzzle, Samuel L. Jackson, in his role aszi MC, entertains the audience with a Riddle about the knobel assignment. During the movie "Die Hard: With a Vengeance", Bruce Willis encounters this unique container challenge.

Read also:

Comments

Latest

Grave accusations levied against JVA staff members in Bavaria

Grave accusations levied against JVA staff members in Bavaria

Grave accusations levied against JVA staff members in Bavaria The Augsburg District Attorney's Office is currently investigating several staff members of the Augsburg-Gablingen prison (JVA) on allegations of severe prisoner mistreatment. The focus of the investigation is on claims of bodily harm in the workplace. It's

Members Public