Hard Puzzles
-
Using a water tap, a 07 gallon container and a 11 gallon container, can you measure exactly 9 gallons?
You may empty the containers down the drain.
View SolutionSubmit Solution- 1,162.6K views
- 1 answers
- 0 votes
-
Every Year, five couples make their annual trek up a mountain and have a picnic lunch together at the top. Each couple consists of one man (Craig, Bob, Harold, Larry, or Pete) and one woman (Eileen, Phyllis, Victoria, Sally, or Lisa) Each couple brought one item to share (potato salad, hamburgers, pasta salad, dinner rolls, or hot dogs). Using the clues, determine who is a couple and who brought what item.
1. Phyllis and her husband brought the hamburgers
2. Harold and his wife are vegetarians
3. Craig asked Victoria for her pasta salad recipe
4. Both Harold and Craig were guests at Eileen’s wedding
5. Bob and Lisa have been happily married for 25 years
6. Larry and his wife brought the rolls
7. Sally brought hot dogs
8. Phyllis and her husband were guests at Craig’s weddingView SolutionSubmit Solution- 1,285.6K views
- 1 answers
- 0 votes
-
Two robots are placed at different points on a straight line of infinite length. When they are first placed down, they each spray out some oil to mark their starting points.
You must program each robot to ensure that the robots will eventually crash into each other. A program can consist of the following four instructions:
- Go left one space
- Go right one space
- Skip the next instruction if there is oil in my current spot
- Go to a label
[Note that a “label” is a name that refers to a line of your code. For example, you could label the third line of your program “surveying”. Then, the instruction “goto surveying” would jump to line 3 and start executing from there on the next cycle.]
A robot will carry out one instruction per second. Both robots need not have the same program. Note that you won’t know ahead of time which robot is on the left and which is on the right.
View SolutionSubmit Solution- 1,291.7K views
- 1 answers
- 0 votes
-
Ring City has 100 houses arranged in a circle. Alice starts at her own house, and every day she randomly moves to one of the two adjacent houses, each with 50% probability.She repeats this until she has visited all of the houses.
Which house(s) is/are the most likely to be visited last?
View SolutionSubmit Solution- 1,346.5K views
- 3 answers
- 0 votes