• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:53
CEST 04:53
KST 11:53
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation12$25,000 Streamerzone StarCraft Pro Series announced6Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL66
StarCraft 2
General
Firefly given lifetime ban by ESIC following match-fixing investigation The SCII GOAT: A statistical Evaluation TL Team Map Contest #4: Winners Weekly Cups (June 30 - July 6): Classic Doubles The GOAT ranking of GOAT rankings
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [G] Progamer Settings ASL20 Preliminary Maps [ASL19] Finals Recap: Standing Tall SC uni coach streams logging into betting site
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Positive Thoughts on Setting Up a Dual-Caliber FX
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Summer Games Done Quick 2025! Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
momentary artworks from des…
tankgirl
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 594 users

really interesting puzzle, took me a while!

Blogs > DoctorHelvetica
Post a Reply
1 2 Next All
DoctorHelvetica
Profile Blog Joined July 2008
United States15034 Posts
October 31 2009 11:34 GMT
#1
[image loading]


Try to come up with a solution to this puzzle, it took me a really long time to figure out. It's a good one.

Solution: + Show Spoiler +
C knows his hat is black, if his hat was white then D would have seen two white hats and yelled that his hat was black. Because D did not do this, C realized that D must be seeing 2 different hats and that his hat is therefore black.


*****
RIP Aaliyah
writer22816
Profile Blog Joined September 2008
United States5775 Posts
October 31 2009 11:54 GMT
#2
Great puzzle!
8/4/12 never forget, never forgive.
madnessman
Profile Blog Joined May 2009
United States1581 Posts
Last Edited: 2009-10-31 12:25:29
October 31 2009 12:11 GMT
#3
damn i'm really tempted to look at the solution. i've been staring at the diagram and instructions for like 5 minutes and i haven't figured it out yet.

EDIT: I GOT IT!
+ Show Spoiler +
If B and Cs hats are the same color D knows that his hat is obviously the other color and can call it out. If D does not call out a color C knows his hat is a different color than the guy in front of him and can call it out.


Here is another "guess the hat" brain teaser. This time there are 10 guys buried in the ground in a line. They are all facing forward so guy #1 can see everybody's hat (but his), guy #2 can see 3-10, guy #3 can see 4-10, etc... They each have a 50/50 chance of getting either a black or white hat (so it's not necessarily 5 x black and 5 x white). They all have to guess the color of their hat. Guy #1 guesses first, guy #2 guesses second, etc...

They have time before the test to agree on a strategy. There is a strategy which will save at least 9/10 guys for sure. What is it?

This isn't a trick question. They can't give audio clues like making your guess in a high pitch or a low pitch to tell the person in front of them what hat color they have. It's a logic/math solution.
Flicky
Profile Blog Joined December 2008
England2662 Posts
October 31 2009 12:13 GMT
#4
I hate when these puzzles make me feel slow.

To those working it out, this is completely logical. There is no trickery at all. I know the picture says it, but it's easy to doubt that. There's nothing like "he leans forward and the hat falls off".
Liquipedia"I was seriously looking for a black guy" - MrHoon
HwangjaeTerran
Profile Blog Joined October 2009
Finland5967 Posts
October 31 2009 12:21 GMT
#5
A knows he has got a black hat
no way they could´ve chosen a guy with white hat to be alone on the other side of the wall.
https://steamcommunity.com/id/*tlusernamehere*/
Ganfei
Profile Blog Joined August 2008
Taiwan1439 Posts
October 31 2009 12:22 GMT
#6
There are a lot of variations of this puzzle, I did a similar one back in one of my logic classes during freshman year of college. The part that irks me is that your answer relies on your compatriots (the other hat wearers) not being idiots. So that's kind of out of the question in a normal situation.
You are crushing me like a cheese sandwich
underscore
Profile Joined August 2009
252 Posts
October 31 2009 12:29 GMT
#7
Puzzles like this make we want to be an executioner. Even if they solve it I still shoot them then go home with a big smile on my face and plow my wife.
LordWeird
Profile Blog Joined November 2007
United States3411 Posts
October 31 2009 12:44 GMT
#8
This was quite simple but very fun. D would have noticed if he had seen two white hats and would have called out (if he had a brain in him). When C realized that D had not called out he figured he must have had the black hat.
Chains none
Phrogs!
Profile Blog Joined August 2008
Japan521 Posts
October 31 2009 14:13 GMT
#9
Kinda simple but fun. You have a site you got this from? I wanna keep going
Zinbiel
Profile Joined October 2008
Sweden878 Posts
October 31 2009 14:55 GMT
#10
On October 31 2009 21:11 madnessman wrote:
damn i'm really tempted to look at the solution. i've been staring at the diagram and instructions for like 5 minutes and i haven't figured it out yet.

EDIT: I GOT IT!
+ Show Spoiler +
If B and Cs hats are the same color D knows that his hat is obviously the other color and can call it out. If D does not call out a color C knows his hat is a different color than the guy in front of him and can call it out.


Here is another "guess the hat" brain teaser. This time there are 10 guys buried in the ground in a line. They are all facing forward so guy #1 can see everybody's hat (but his), guy #2 can see 3-10, guy #3 can see 4-10, etc... They each have a 50/50 chance of getting either a black or white hat (so it's not necessarily 5 x black and 5 x white). They all have to guess the color of their hat. Guy #1 guesses first, guy #2 guesses second, etc...

They have time before the test to agree on a strategy. There is a strategy which will save at least 9/10 guys for sure. What is it?

This isn't a trick question. They can't give audio clues like making your guess in a high pitch or a low pitch to tell the person in front of them what hat color they have. It's a logic/math solution.

This works, right?
+ Show Spoiler +
If they agree that number 1 will guess white if he sees an odd number of white hats and guess black if he sees an even number of white hats. If number 1 calls white and number 2 sees an even number of white hats he's got a white one. If he sees an odd number he's got a black one. Rinse and repeat, everyone have to remember when it's there turn if they should have an even or odd number of whites in front of them.
Backho fan since 080416. Favourite terran: Mind. Favourite Zerg: Jaedong.
Thats_The_Spirit
Profile Blog Joined April 2009
Netherlands138 Posts
October 31 2009 14:56 GMT
#11
Nice puzzle
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
October 31 2009 16:09 GMT
#12
There's actually no correct answer to OP's puzzle, not even his own answer. + Show Spoiler +
Just because D sees 2 different colors doesn't mean that D's hat has to be white. For all he knows, A and C has white, B and D has black. Unfortunately your hat-men are left with a 50-50 guess for whomever is feeling lucky that day.
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-10-31 16:18:26
October 31 2009 16:15 GMT
#13
iv seen far too many of these puzzles this one took me no time at all :p
+ Show Spoiler +

well C can see a white hat and i assume he knows that D can see both his and B's hats. therefore C knows that D sees a white + X. if D sees white+white, he'd auto-yell black. he doesn't, because he sees white+black. C realizes this and since he's not the white (cos he can see the white) he's sure he's black


also @adeny
+ Show Spoiler +

what? D's color doesn't matter, he's not the one guessing, because like you said, he can't be sure of his color cos he sees diff ones. C is the one guessing and C knows his color 100% given 2 conditions:
-he knows that D can see B and C's hats
-D is not an idiot
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Zinbiel
Profile Joined October 2008
Sweden878 Posts
Last Edited: 2009-10-31 16:16:27
October 31 2009 16:15 GMT
#14
On November 01 2009 01:09 Adeny wrote:
There's actually no correct answer to OP's puzzle, not even his own answer. + Show Spoiler +
Just because D sees 2 different colors doesn't mean that D's hat has to be white. For all he knows, A and C has white, B and D has black. Unfortunately your hat-men are left with a 50-50 guess for whomever is feeling lucky that day.

You don't seem to understand.

+ Show Spoiler +
Your scenario doesn't matter, since it isn't D who are the one with the information he needs to tell what color his hat is, it is C. C sees that B has a white hat. The fact that D doesnt cry out tells C that he and B has different colors and since he sees that B has a white one, hence his hat is black. If he had seen a black hat in front of him and no reaction from D, he would have a white hat.
Backho fan since 080416. Favourite terran: Mind. Favourite Zerg: Jaedong.
kerpal
Profile Blog Joined June 2009
United Kingdom2695 Posts
October 31 2009 16:34 GMT
#15
On October 31 2009 21:22 NoobsOfWrath wrote:
There are a lot of variations of this puzzle, I did a similar one back in one of my logic classes during freshman year of college. The part that irks me is that your answer relies on your compatriots (the other hat wearers) not being idiots. So that's kind of out of the question in a normal situation.


puzzle should say, "this diagram shows 4 puzzle nerds buried up to their necks in sand"
-orb-
Profile Blog Joined September 2007
United States5770 Posts
October 31 2009 16:51 GMT
#16
I don't like this one because + Show Spoiler +
it relies on D not being a retard. If I was C in that situation I would be scared as fuck to say my hat was black because I'd be worried D was just a dumbfuck tool and he didn't know what he was doing lol
'life of lively to live to life of full life thx to shield battery'
how sad that sc2 has no shield battery :(
ejac
Profile Blog Joined January 2009
United States1195 Posts
October 31 2009 17:04 GMT
#17
This seemed hard at first, but I figured it out in less than a minute.
esq>n
Pengu1n
Profile Blog Joined October 2004
United States552 Posts
October 31 2009 17:09 GMT
#18
On November 01 2009 01:51 -orb- wrote:
I don't like this one because + Show Spoiler +
it relies on D not being a retard. If I was C in that situation I would be scared as fuck to say my hat was black because I'd be worried D was just a dumbfuck tool and he didn't know what he was doing lol



This is why its just a fun logic puzzle. If it were a real live situation I think even the smartest people when trapped up to their necks so they can't move and are about to be executed would panic and lose most of their logical reasoning. Doesn't necessarily make them "dumbfuck retarded tools".

However if this was a real life situation where there was no penalty or execution, just a 10 min time limit and people buried in the sand with hats just to try to figure out the riddle, then maybe it would be fair to call them dumb ;p
revolover
Profile Joined January 2009
Canada134 Posts
October 31 2009 17:36 GMT
#19
Great problem!
Dr.Lettuce
Profile Blog Joined September 2008
United Kingdom663 Posts
Last Edited: 2009-10-31 17:54:34
October 31 2009 17:54 GMT
#20
damn just spent half an hour on this.
I think the answer is C.
Because he knows B's hat is white. D would then have called out his hat was black, if C was white as well. However he didn't call out. Meaning he can see one white and black hat. Since B's is white. C can be 100% certain his hat is black?

haha yes! that was damn satisfying
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
SEL Masters #4 - Day 1
CranKy Ducklings97
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 169
RuFF_SC2 124
Livibee 68
ProTech61
StarCraft: Brood War
Artosis 812
PianO 67
Bale 17
LuMiX 2
Dota 2
monkeys_forever710
NeuroSwarm72
febbydoto1
League of Legends
JimRising 895
Counter-Strike
Stewie2K379
Coldzera 309
Super Smash Bros
hungrybox1037
Heroes of the Storm
Khaldor122
Other Games
summit1g10178
shahzam497
Maynarde179
ViBE169
ZombieGrub19
Organizations
Other Games
gamesdonequick42373
BasetradeTV79
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH283
• Hupsaiya 132
• gosughost_ 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki14
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1849
Other Games
• Scarra1393
Upcoming Events
RSL Revival
7h 7m
ByuN vs SHIN
Clem vs Reynor
OSC
10h 7m
Replay Cast
21h 7m
RSL Revival
1d 7h
Classic vs Cure
FEL
1d 13h
OSC
1d 17h
RSL Revival
2 days
FEL
2 days
FEL
2 days
CSO Cup
2 days
[ Show More ]
BSL20 Non-Korean Champi…
2 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-07-07
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.