All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Weights and Scales
Finding Good Batteries (Posted on 2013-11-11) Difficulty: 3 of 5
My remote control needs two new batteries, but when I went to get replacements I found that the four good batteries got mixed in with four bad batteries. The only means of determining if the batteries are good is to put two into the remote and see if it works. The remote works with two good batteries and is unresponsive if I have at least one bad battery in it.

What is the minimum number of tries I need to guarantee that I get two good batteries?

See The Solution Submitted by Brian Smith    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution my solution | Comment 2 of 8 |

Try batteries 1 and 2

then 3 and 4

then 5 and 6

then 7 and 8.

If any of these pairs work, use that pair and stop.

If none of the pairs works, each has one good and one bad battery. So try 1 & 3. If that doesn't work, one or both are bad. Try 1 and 4. If that doesn't work try 2 and 4. Finally if none of those work, 2 and 3 must be a good pair.

That was 8 tries in all in the worst-case scenario.


  Posted by Charlie on 2013-11-11 17:27:25
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information