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

Home > Logic
Wherefrom thou comest, mylady? (Posted on 2011-08-11) Difficulty: 1 of 5
All four ladies, finalists of a trivia show, agreed among them, prior to facing the MC, to include only one true fact in their statements.
Since each contestant represented a different country, the ladies were requested to address the origin of their fellows.
Those were their answers:
Alla: Bella is from France and Carla from Canada.
Bella: Della is from Spain and Bella from Canada.
Carla: Alla is from Canada and Carla from France
Della - was not interviewed and therefore said nothing.

Is it possible to determine for each lady, what country she represented?

See The Solution Submitted by Ady TZIDON    
Rating: 4.6667 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution The answer is... | Comment 2 of 4 |

No, since they come from four countries and only three countries are given names in the puzzle, so we can't identify which is the fourth, though we could probably tell which finalist came from the fourth country.

Below is a table listing how many parts of each two-part statement would be true if the countries of origin were in the order presented. A, B, C and D are Alla, Bella, Carla and Della, while f, s, c and o are France, Spain, Canada and Other.

ABCD           A  B  C
fsco           1  0  0
fsoc           0  0  0
fsoo           0  0  0
fcso           0  1  0
fcos           0  2  0
fcoo           0  1  0
fosc           0  0  0
foso           0  0  0
focs           1  1  0
foco           1  0  0
foos           0  1  0
fooc           0  0  0
fooo           0  0  0
sfco           2  0  0
sfoc           1  0  0
sfoo           1  0  0
scfo           0  1  1
scof           0  1  0
scoo           0  1  0
sofc           0  0  1
sofo           0  0  1
socf           1  0  0
soco           1  0  0
soof           0  0  0
sooc           0  0  0
sooo           0  0  0
cfso           1  0  1
cfos           1  1  1
cfoo           1  0  1
csfo           0  0  2
csof           0  0  1
csoo           0  0  1
cofs           0  1  2
cofo           0  0  2
cosf           0  0  1
coso           0  0  1
coof           0  0  1
coos           0  1  1
cooo           0  0  1
ofsc           1  0  0
ofso           1  0  0
ofcs           2  1  0
ofco           2  0  0
ofos           1  1  0
ofoc           1  0  0
ofoo           1  0  0
osfc           0  0  1
osfo           0  0  1
oscf           1  0  0
osco           1  0  0
osof           0  0  0
osoc           0  0  0
osoo           0  0  0
ocfs           0  2  1
ocfo           0  1  1
ocsf           0  1  0
ocso           0  1  0
ocof           0  1  0
ocos           0  2  0
ocoo           0  1  0
oofs           0  1  1
oofc           0  0  1
oofo           0  0  1
oosf           0  0  0
oosc           0  0  0
ooso           0  0  0
oocf           1  0  0
oocs           1  1  0
ooco           1  0  0
ooof           0  0  0
ooos           0  1  0
oooc           0  0  0
oooo           0  0  0

Only the line cfos has three 1's, indicating that each finalist made one true half-statement. So if "only one true fact" is interpreted as "exactly one true fact", then Alla is from Canada, Bella is from France, Carla is from a country not named in the puzzle and Della is from Spain.

CLS
orig$ = "fsco"
FOR alla = 1 TO 4
 IF alla = 4 OR used(alla) = 0 THEN
   used(alla) = 1
FOR bella = 1 TO 4
 IF bella = 4 OR used(bella) = 0 THEN
   used(bella) = 1
FOR carla = 1 TO 4
 IF carla = 4 OR used(carla) = 0 THEN
   used(carla) = 1
FOR della = 1 TO 4
 IF della = 4 OR used(della) = 0 THEN
   used(della) = 1

PRINT MID$(orig$, alla, 1) + MID$(orig$, bella, 1) + MID$(orig$, carla, 1) + MID$(orig$, della, 1),
t1 = ABS((bella = 1) + (carla = 3))
t2 = ABS((della = 2) + (bella = 3))
t3 = ABS((alla = 3) + (carla = 1))
PRINT t1; t2; t3
ct = ct + 1
IF ct MOD 40 = 0 THEN DO: LOOP UNTIL INKEY$ > "": PRINT

   used(della) = 0
 END IF
NEXT
   used(carla) = 0
 END IF
NEXT
   used(bella) = 0
 END IF
NEXT
   used(alla) = 0
 END IF
NEXT
PRINT ct

 


  Posted by Charlie on 2011-08-11 17:46:59
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 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information