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

Home > Logic > Weights and Scales
Yet one more coin sorting problem (Posted on 2004-05-31) Difficulty: 3 of 5
You have five coins, apparently alike, but actually of different weights. You also have a two arm scale.

Can you manage to sort the coins in ascending order, using the scale only seven times?

Bonus question: can it be done in fewer weighings?

See The Solution Submitted by Federico Kereki    
Rating: 4.0000 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(7): Solution based on the O-Sort sorting algorithm Comment 20 of 20 |
(In reply to re(6): Solution based on the O-Sort sorting algorithm by Erik O.)

Your link has a missing / between computer and sortroutines (in the visible verions it has a backslash there, but in the actual link there's nothing there).

I did find that even .81 failed to sort completely, so I doubt .78 would work either.

Of course one could guarantee that it would work if when it reached the step-1 level, that if it found it necessary to swap anything it would go through the step-1 level again, and so on until no swaps were made.


  Posted by Charlie on 2004-06-03 22:38:11
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
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