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

Home > Logic
Extraordinary Characteristics (Posted on 2012-11-06) Difficulty: 3 of 5
Adam, Brad, and Cole are three extraordinary men, each having exactly three extraordinary characteristics.
  1. Two are extraordinarily intelligent, two are extraordinarily hand-some, two are extraordinarily strong, two are extraordinarily witty, and one is extraordinarily empathic.

  2. Of Adam it is true that:
    • If he is extraordinarily witty, he is extraordinarily handsome.
    • If he is extraordinarily handsome, he is not extraordinarily intelligent.

  3. Of Brad it is true that:
    • If he is extraordinarily witty, he is extraordinarily intelligent.
    • If he is extraordinarily intelligent, he is extraordinarily hand-some.

  4. Of Cole it is true that:
    • If he is extraordinarily handsome, he is extraordinarily strong.
    • If he is extraordinarily strong, he is not extraordinarily witty.
Who is extraordinarily empathic?

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 4

FOR stupid = 1 TO 3
FOR ugly = 1 TO 3
FOR weak = 1 TO 3
FOR dull = 1 TO 3
FOR emp = 1 TO 3

  good = 1
  IF dull <> 1 AND ugly = 1 THEN good = 0
  IF ugly <> 1 AND stupid <> 1 THEN good = 0

  IF dull <> 2 AND stupid = 2 THEN good = 0
  IF stupid <> 2 AND ugly = 2 THEN good = 0

  IF ugly <> 3 AND weak = 3 THEN good = 0
  IF weak <> 3 AND dull <> 3 THEN good = 0

  atot = (stupid <> 1) + (ugly <> 1) + (weak <> 1) + (dull <> 1) + (emp = 1)
  btot = (stupid <> 2) + (ugly <> 2) + (weak <> 2) + (dull <> 2) + (emp = 2)
  ctot = (stupid <> 3) + (ugly <> 3) + (weak <> 3) + (dull <> 3) + (emp = 3)

  atot = ABS(atot)
  btot = ABS(btot)
  ctot = ABS(ctot)
 
  IF atot <> 3 OR btot <> 3 OR ctot <> 3 THEN good = 0

  IF good THEN
    PRINT emp
    PRINT stupid; ugly; weak; dull
    PRINT
  END IF

NEXT
NEXT
NEXT
NEXT
NEXT

PRINT "stupid ugly weak dull"

results in:

 3
 1  3  2  3
 3
 1  3  3  2
 
 stupid ugly weak dull
 


This shows that Cole (my #3) is extraordinarily empathetic.
 
Adam (1) lacks extra intelligence.
Cole (3) is not extra-handsome.
Lacking in extra strength and wit would be Brad (2) and Cole (3), but not necessarily in that order.


  Posted by Charlie on 2012-11-06 14:23:54
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 (14)
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