• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help me answer this riddle

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Originally posted by: nietsni3
what do you think about this one:

if the criminals are staying in the city hall, then road A will lead to the criminal. is it correct kiddo?
That's really just another way of asking does road A lead to city hall as it's only false when the criminals are in city hall and road A doesn't lead there...
 
"can i meet the criminals at the city hall if i follow road A?"

"if the criminals are at city hall, will road A lead to the ghetto?"

"road A doesnt lead to city hall is wrong, right?"


.....
my head is spinning now....
 
how about this one two ways on bad on good one person from one city one question u go to good how?

i love confusing people 😛 :beer:
 
You can ask him which statement is correct:

City Hall is located on A and the Slum is located on B
-OR-
City Hall is located on B and the Slum is located on A

If he chooses either of those answers, he is a liar. I can't see any other way of doing it.
 
Originally posted by: MartyMcFly3
I know... Hold a gun to the kid's head and ask "If you lie ill blow your brains out, so which way is it to City Hall?"

Edit: Take him along when he tells you. If he told the truth you let him go. If he leads you to the hell hole at least you can take him out first. One less lying bastard.
Winner.
 
He just points to one of the path and say "This is the way to City Hall!". If the kid is lying, he'll say, "NO, the other way is". If the kid is not lying, he'll point the guy in the right direction.
 
Ask the kid which road a liar would say is the road to City Hall, and then take the opposite one.

*Edit: I just made that up, I don't think it works.
 
Originally posted by: nietsni3
of course one of the roads is where he arrived the three way crossroad from. so there are two left for him to choose

why confused ppl by wording it like that? just say "the guy came to a fork in the road."
 
so we have agreed there is no answer, right?


If you don't know if he is lying or telling the truth and you only have one question, your screwed.
 
two assumptions:

1) the kid always tells the truth, or always tells a lie
2) the kid is coming from his hometown

i'll just ask the kid a question like, "is it raining?" i know the answer to that, so if he answers truthfully, then i'll go down the path he came from, if not, then i'll take the other path.
 
Originally posted by: vood0g
two assumptions:

1) the kid always tells the truth, or always tells a lie
2) the kid is coming from his hometown

i'll just ask the kid a question like, "is it raining?" i know the answer to that, so if he answers truthfully, then i'll go down the path he came from, if not, then i'll take the other path.

don't think you can assume you know where the kid is coming from. it just says a kid walks by...
 
Here's the way to do it.

Let's just assume it's not raining when you meet the little fvcker.

Is city hall to the left if and only if it is raining?

If he answers yes, you know he's lying because of the raining part, so he's lying about city hall being to the left, so you go to the right.

If he answers no, you know he's telling the truth because of the rain, so he's telling the truth about city hall, so you go left.
 
Originally posted by: vood0g
two assumptions:

1) the kid always tells the truth, or always tells a lie
2) the kid is coming from his hometown

i'll just ask the kid a question like, "is it raining?" i know the answer to that, so if he answers truthfully, then i'll go down the path he came from, if not, then i'll take the other path.

You can't assume that. It says in the first post that the kid might lie or might tell the truth. It sounds as though what he chooses to do can change each time.
 
Originally posted by: silverpig
Here's the way to do it.

Let's just assume it's not raining when you meet the little fvcker.

Is city hall to the left if and only if it is raining?

If he answers yes, you know he's lying because of the raining part, so he's lying about city hall being to the left, so you go to the right.

If he answers no, you know he's telling the truth because of the rain, so he's telling the truth about city hall, so you go left.

No go. he can lie for one question (the rain) and tell the truth for the other one
 
Read the original post!

You only get one question. And the boy "looks sly," which doesn't mean he lies (or tells the truth) 100% of the time.
 
Originally posted by: austin316
Originally posted by: silverpig
Here's the way to do it.

Let's just assume it's not raining when you meet the little fvcker.

Is city hall to the left if and only if it is raining?

If he answers yes, you know he's lying because of the raining part, so he's lying about city hall being to the left, so you go to the right.

If he answers no, you know he's telling the truth because of the rain, so he's telling the truth about city hall, so you go left.

No go. he can lie for one question (the rain) and tell the truth for the other one

It's one question. He can't answer a single question twice. It works. This question (by using the iff) gets around that. It's a single sentence with one answer. He can either answer the question truthfully or not.
 
Originally posted by: silverpig
There's supposed to be 2 guys there, one lies all the time, one tells the truth all the time. You ask one man one question.

The correct answer is shown in the film: Labyrinth
 
If and only if it's raining? No.

How does that mean it's the left? Couldn't City Hall still be the right? Just trying to understand this and it's been awhile since I've done straight logic and iff statements.
 
ok, how about if you ask the kid which way it is, go that way, if he lied, you turn your fat ass around and walk back and go the other way?
 
Point to any road and asks - is this is the way to city hall where I will meet a lot of criminals? If he say
yes, he is a liar -> go the other way
no, he is telling the truth -> go that way.

 
Back
Top