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

Home > Algorithms
Four Corners (Posted on 2004-07-17) Difficulty: 3 of 5
On each corner of a square is a quarter. Your task is to have all four quarter heads-up or tails-up at the end of a turn.

You are blindfolded at the start, and you do not know which are heads-up and which are tails-up. Each turn, you may flip however many of them you want and then ask if you are done (and no, you cannot tell, by touch, whether it is heads- or tails-up). The square is then rotated a random, undisclosed number of quarter spins (multiple of 90 degrees), and you may take another turn.

Minimize the maximum number of turns required to be assured you will complete the task.

No Solution Yet Submitted by red_sox_fan_032003    
Rating: 4.2500 (8 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Good start | Comment 5 of 7 |
(In reply to re: Good start by Ken Haley)

That first step would be unnecessary, if indeed you needed all heads-up or tails-up at any point in the turn.  But, as it states in the second sentence, you must have four of a kind at the end of a turn.  If you start out in a HHHH situation, in your scenario, you would never solve it, as after the first turn it would become HTHT.  Yours implies a buffer period, an 'Am I done' phase before start of game, which, in the rules, happens only at the end of a turn.  Your scenario implies one turn of flipping nothing before hand, as did the other solution.
  Posted by helen on 2004-09-04 11:43:52

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 (17)
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