• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:16
CEST 15:16
KST 22:16
  • 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
[ASL22] Ro8 Preview: In A Tizzy8[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9
Community News
Weekly Cups (Sep 13-20): herO scores triple1BSL Season 235Weekly Cups (Sep 7-12): SHIN, ByuN, MaxPax double down1StarCraft open world shooter announced at BlizzCon101Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) How do you feel about the StarCraft shooter announcement at BlizzCon 2026? Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool The Death of Cheese: From a Professional Cheeser Weekly Cups (Sep 13-20): herO scores triple
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament 2026 GSTL Announcement RSL Revival: Season 6 - Qualifiers and Main Event RSL goes to London! 2026 Offline Finals Nov 21-22 SC2 AI Tournament 2026 Fall
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 544 Double Trouble The PondCast: SC2 News & Results Mutation # 543 Enhanced Defenses Mutation # 542 The Ascended
Brood War
General
Bot on ladder screpdb: new Starcraft reporting tool Guide To Watching Ancient Brood War Replays [ASL22] Ro8 Preview: In A Tizzy Oldest replay file.
Tourneys
[ASL22] Ro8 Day 2 [ASL22] Ro16 Group D [ASL22] Ro8 Day 1 [IPSL] IPSL is Back With Winter 26-27!
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation
Other Games
General Games
Diablo IV Nintendo Switch Thread Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread EVE Corporation
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Artificial Intelligence Thread Things Aren’t Peaceful in Palestine All you football fans (soccer)! Russo-Ukrainian War Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Gaming Intensity, Problemati…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Dreaming of BW patches (mod…
c3rberUs
Customize Sidebar...

Website Feedback

Closed Threads



Active: 10478 users

really interesting puzzle, took me a while!

Blogs > DoctorHelvetica
Post a Reply
Normal
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
England2674 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
cascades
Profile Blog Joined October 2009
Singapore6122 Posts
October 31 2009 17:55 GMT
#21
It is just that in a real life situation your chances of getting 3 perfectly logical person is one in 6 billion.
HS: cascades#1595 || LoL: stoppin
DoctorHelvetica
Profile Blog Joined July 2008
United States15034 Posts
October 31 2009 18:15 GMT
#22
How stupid would you have to be to see two white hats and not immediately call out black. It requires D to not be blind, not to be intelligent.
RIP Aaliyah
Zinbiel
Profile Joined October 2008
Sweden878 Posts
October 31 2009 18:22 GMT
#23
On November 01 2009 03:15 DoctorHelvetica wrote:
How stupid would you have to be to see two white hats and not immediately call out black. It requires D to not be blind, not to be intelligent.

agreed, you would actually have to be criminally stupid not to see the connection "2 whites and 2 black total, I see 2 white I have black". Sure there are lots of that kind of people in the world but no more than 48.3% I'd say. Btw anyone else who came up with the same solution as I did to madnessman's puzzle? Is there another way?
Backho fan since 080416. Favourite terran: Mind. Favourite Zerg: Jaedong.
Leath
Profile Blog Joined July 2006
Canada1724 Posts
October 31 2009 18:52 GMT
#24
I think I may have found the solution:


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.
http://www.kongregate.com/?referrer=Sagess
Musoeun
Profile Blog Joined March 2009
United States4324 Posts
November 01 2009 01:55 GMT
#25
This was a weird one. I ran through the possibilities, and I guess "intuited" the correct answer from that but couldn't figure out *why* it was right for the longest time. I'm not sure if this makes me smart or stupid.
Don't Shoot the Penguins. | Dance, 성은, dance! | Killer FanKlub | Action sucks. | Storm Terran hwaiting.
WhiteNights
Profile Blog Joined October 2009
United States252 Posts
November 01 2009 01:58 GMT
#26
guess: everybody knows D sees white and black because otherwise he would call

but C sees white so he knows he has black

check: i win

hooray
May your sky be always clear, may your smile be always bright, and may you be forever blessed for that moment of happiness which you gave to another lonely and grateful heart!
N.geNuity
Profile Blog Joined July 2009
United States5112 Posts
November 01 2009 02:03 GMT
#27
Good thing C knows there is a dude behind him! If they can't communicate, how could he know?
iu, seungah, yura, taeyeon, hyosung, lizzy, suji, sojin, jia, ji eun, eunji, soya, younha, jiyeon, fiestar, sinb, jung myung hoon godtier. BW FOREVERR
comabreaded
Profile Blog Joined July 2003
United States2166 Posts
November 23 2009 18:35 GMT
#28
the picture made it rly ez
I put the fu in fun
DivinO
Profile Blog Joined July 2009
United States4796 Posts
November 23 2009 18:39 GMT
#29
Actually got this one. :D In not too long.
LiquipediaBrain in my filth.
EtherealDeath
Profile Blog Joined July 2007
United States8366 Posts
November 23 2009 19:19 GMT
#30
Heh I read this problem initially as why does A know his color, and spent a few minutes wondering how it was possible that + Show Spoiler +
C could not know his color. Then I realized I misread the problem and in fact the answer was C XD
Athos
Profile Blog Joined February 2008
United States2484 Posts
November 23 2009 19:40 GMT
#31
This one completely baffled me mainly because I underestimated there intelligence.
haster27
Profile Blog Joined October 2009
Taiwan809 Posts
November 23 2009 19:41 GMT
#32
C. Easy.
Normal
Please log in or register to reply.
Live Events Refresh
OSC
12:00
King of the Hill #262
Liquipedia
WardiTV Invitational
11:00
WardiTV 10 - Group A
WardiTV2758
ComeBackTV 408
IndyStarCraft 156
Rex118
Liquipedia
Sparkling Tuna Cup
10:00
Weekly #147 (SHIN Mod Edition)
SHIN vs TBDLIVE!
TBD vs ByuN
ByuN280
CranKy Ducklings87
SHIN 77
CranKy Ducklings SOOP19
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 280
mouzHeroMarine 216
IndyStarCraft 156
ProTech124
Rex 118
SHIN 77
StarCraft: Brood War
Britney 51472
Bisu 2886
Jaedong 1799
Rush 336
actioN 281
Stork 263
Hyuk 261
Mini 259
Larva 196
ggaemo 174
[ Show more ]
Snow 146
Barracks 139
Leta 120
Zeus 110
hero 86
Killer 45
soO 43
Mong 40
Shinee 35
sorry 31
ToSsGirL 20
Hm[arnc] 17
scan(afreeca) 15
Shine 11
Noble 11
JulyZerg 8
Icarus 6
Rock 3
Terrorterran 1
Dota 2
Gorgc6490
qojqva915
Dendi853
Counter-Strike
x6flipin697
markeloff648
edward188
Heroes of the Storm
Trikslyr35
Other Games
singsing1892
olofmeister1523
B2W.Neo868
XBOCT383
Lowko368
crisheroes267
Mlord250
Liquid`VortiX73
Mew2King54
QueenE44
DeMusliM24
RotterdaM17
Organizations
Dota 2
PGL Dota 2 - Main Stream11754
PGL Dota 2 - Secondary Stream1559
Other Games
gamesdonequick480
StarCraft: Brood War
lovetv 9
[ Show 15 non-featured ]
StarCraft 2
• mYiSmile19
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• Michael_bg 2
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1484
League of Legends
• Nemesis1455
• TFBlade427
Other Games
• WagamamaTV170
Upcoming Events
PiGosaur Cup
10h 44m
Kung Fu Cup
21h 44m
The PondCast
1d 20h
Replay Cast
2 days
Korean StarCraft League
3 days
CranKy Ducklings
3 days
GSL
4 days
Yamato Cup
5 days
Replay Cast
5 days
Afreeca Starleague
5 days
[ Show More ]
WardiTV Weekly
5 days
Sparkling Tuna Cup
6 days
Afreeca Starleague
6 days
Liquipedia Results

Completed

Super Anchor Qualifying S3
Blizzard Classic Cup 2026
Big Dog Cup 2026 Div 1

Ongoing

ASL Season 22
CSL 2026 AUTUMN (S22)
Acropolis #5
Acropolis #5 - GSA
Calamity Invitational
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Acropolis #5 - GSB
Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Custodian Cup
Copium Cup
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #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 © 2026 TLnet. All Rights Reserved.