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

Home > Logic
Uncle Christmas (Posted on 2013-08-27) Difficulty: 3 of 5
  1. Uncle Raymond will not get the scarf unless Uncle John gets the hat.
  2. Uncle George will not get the gloves unless Uncle Victor gets the scarf.
  3. Uncle Victor will not get the tie unless Uncle George gets the scarf.
  4. Uncle John will not get the gloves unless Uncle Raymond gets the hat.
  5. Uncle John will not get the hat unless Uncle Victor gets the gloves.
  6. Uncle George will not get the hat unless Uncle Raymond gets the tie.
  7. Uncle George will not get the tie unless Uncle Raymond gets the hat.
  8. Uncle Raymond will not get the hat unless Uncle George gets the scarf.
  9. Uncle Victor will not get the gloves unless Uncle Raymond gets the hat.
  10. Uncle John will not get the tie unless Uncle Raymond gets the gloves.
  11. Uncle George will not get the scarf unless Uncle Raymond gets the gloves.
Which uncle will get the scarf for Christmas?

See The Solution Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): computer solution Comment 3 of 3 |
(In reply to re: computer solution by Cristian B.)

It arranges the contents of the string a$ into the next permutation in lexicographic order or, if already the last, into the first lexicogaphic permutation.
the code for it is not shown as one of the puzzles in the algorithms category is to devise an algorithm that will do this.



Edited on September 1, 2013, 4:40 pm
  Posted by Charlie on 2013-09-01 16:37:40

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