• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:57
CEST 17:57
KST 00:57
  • 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
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy13ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research6Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Weekly Cups (March 23-29): herO takes triple Aligulac acquired by REPLAYMAN.com/Stego Research Team Liquid Map Contest #22 - Presented by Monster Energy What mix of new & old maps do you want in the next ladder pool? (SC2) herO wins SC2 All-Star Invitational
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
Build Order Practice Maps BW General Discussion Pros React To: SoulKey vs Ample [ASL21] Ro24 Preview Pt2: News Flash BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro24 Group E Azhi's Colosseum - Foreign KCM [ASL21] Ro24 Group F [ASL21] Ro24 Group D
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game Nintendo Switch Thread General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1685 users

A challenging riddle/question - Page 3

Blogs > TadH
Post a Reply
Prev 1 2 3 All
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
March 29 2011 22:24 GMT
#41
On March 30 2011 05:25 TadH wrote:
I think you're probably the closest, I'm going to post the answer in a spoiler when it's released by IBM.

When is this going to be posted?
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
March 29 2011 22:42 GMT
#42
bleh, i got nothing good for B. i suck at this
(\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 ☺)
TadH
Profile Blog Joined February 2010
Canada1846 Posts
March 29 2011 22:43 GMT
#43
On March 30 2011 07:24 EsX_Raptor wrote:
Show nested quote +
On March 30 2011 05:25 TadH wrote:
I think you're probably the closest, I'm going to post the answer in a spoiler when it's released by IBM.

When is this going to be posted?



They post the answer on the ibm website on april 1st i believe

in any case ill update it here.
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
March 29 2011 23:57 GMT
#44
On March 30 2011 04:06 EsX_Raptor wrote:
For those who do not understand how the Hamming Code works, here is a simplified and illustrative explanation in terms of the problem stated.

For simplification purposes, let us use 8 bits of data instead of 100,000.

Suppose the following is our data:

[image loading]

Suppose the following is the erroneous bit:

[image loading]

Since we have 8 bits of data, we will need ceiling(log2(8)) + 1 = 4 agents to diagnose it. Furthermore, the agents are labeled with numbers that are powers of 2.

Every agent checks certain bits based on their number. Here are the bits each checks:

[image loading]


[image loading]


[image loading]


[image loading]

From these images, it is easy to observe that agents 1 and 4 will die upon checking the faulty bit:

[image loading]

Therefore, bit 1 + 4 = 5 is the faulty bit:

[image loading]

---

By the way, for 100,000 bits, 18 agents are necessary--not 17.

QED


just to point out your error: the +1 agent is in fact not needed: Suppose the eighth of your bits would be the faulty one, then agents 1 through 3 would all survive, leaving bit 8 as the only possible solution for the broken bit.

The only thing achieved by your +1 agent is to prove, that the remaining bit is actually broken. But if you already know, that exactly one is broken, you don't need to sacrifice an agent just to prove that.

therefore, ceiling(log2(n)) is sufficient which is 17 for 100000 as i pointed out in the first reply ;P
Gold isn't everything in life... you need wood, too!
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
March 30 2011 00:34 GMT
#45
On March 30 2011 08:57 MisterD wrote:
just to point out your error: the +1 agent is in fact not needed: Suppose the eighth of your bits would be the faulty one, then agents 1 through 3 would all survive, leaving bit 8 as the only possible solution for the broken bit.

The only thing achieved by your +1 agent is to prove, that the remaining bit is actually broken. But if you already know, that exactly one is broken, you don't need to sacrifice an agent just to prove that.

therefore, ceiling(log2(n)) is sufficient which is 17 for 100000 as i pointed out in the first reply ;P

Brilliant! XD
THE_DOMINATOR
Profile Blog Joined April 2010
United States309 Posts
March 30 2011 04:22 GMT
#46
On March 30 2011 03:39 Kazius wrote:
Show nested quote +
On March 30 2011 00:55 THE_DOMINATOR wrote:
Hamming codes derp de der http://en.wikipedia.org/wiki/Hamming_code
MisterD is right you need 17 placed at each power of 2


Show nested quote +
On March 30 2011 01:05 THE_DOMINATOR wrote:
you still only need 17...no "queries" are even needed. All the agents have to do is run to their own subset and write down if each bit is a 0 or 1. Then they all meet up at the crew quarters(they can all go at once simultaneously) create the syndrome bits and compare.


Unfortunately, you're wrong. Just off the top of my head, have 16 search the first half in the first hour, if they found it, great. If they didn't, the 16 can find it in the next hour in the other half. Already one agent less.

BTW: After giving it 5 minutes of thought (and thanks to my Prof. for Discrete mathematics), I have the correct answer. PM me if you want a spoiler.

In mine no one dies
DOMINATION
Kiarip
Profile Joined August 2008
United States1835 Posts
Last Edited: 2011-03-30 07:56:59
March 30 2011 07:53 GMT
#47
OK.

If you divide 100000 bits into 21 areas, such that the intersection of any 7 is only 1 bit (this works out, because 21C7 > 100000,) then you only need 20 checks total. The most that can die without giving away the bit is 6, so you only need 13 total (13 + (13-6) = 20)

Still not as good as 11 =\. And since 7 die, you'll need at least 20 to do it twice.


BUUUT!


new solution for B!!!

16!

The first check goes as follows:

break up the set of all bits in to 29 subsets, such that the intersection of any 5 is only a single bit (and all of the bits resulting in intersections of different subsets are distinct, this is possible because 29C5 = 118 755 > 100000.)

Have 16 agents. First hour the first 16 check. At maximum 5 can die. If 5 do die, then you already know the faulty bit. If 4 die, you will need to do 12 more checks (you don't need to check the last section, because you know that a total of only 5 will cause agents to die, so if only 4 agents die you know the last one also contains the faulty bit.)

16 - 4 = 12 so even in the worst case you have enough to do the 12 more checks necessary.
At most 5 agents will die total, so you will always have 11 to complete the second check using the base-3 method posted earlier.

Kazius
Profile Blog Joined August 2009
Israel1456 Posts
Last Edited: 2011-04-01 03:25:19
April 01 2011 03:23 GMT
#48
Was gone for a while (more work?), but have managed to solve it. Very similar to Kiarip's solution here, but a tad more formal (and explaining why 29 and 5 are the necessary numbers).

Part A: 11 (question is equivalent to the number of bits required for representing a number between 1 and 100000 in base 3). Simple enough, and a satisfactory explanation has been given.

Part B:
1) Let there be a division of the 100000 bits into M groups, so that each N groups overlap in one bit. N will be the amount of agents killed, as N groups will overlap on the faulty bit.

Requirements:

A) M choose N must be greater than or equal to 100000. Otherwise, there is not enough information to be sure of the location of the faulty bit.
B) M-1 groups will have to be checked. If there is one death too little, we know that it is in the unchecked group, so that is equivalent to a check as well. Any less checks will allow two groups to be unchecked, and hence locating the faulty bit will not be assured.

2) There must be 11 + N agents, because 11 must survive, and up to N will die (N groups with the faulty bit may be checked).

3) The minimum amount of groups checked: All agents (11 + N) in the first check, 12 agents (11+1) in the second check (if all five die in the first check, it is located, otherwise, 12 or more remain for the second check).

4) Due to 1B, 2 and 3: M-1 = 11 + N + 12
Hence: M = 24 + N

5) Due to 1 and 4: the question can now be phrased thusly: what is 11+N, when N is the minimal natural number in which (24 + N choose N) is greater than or equal to 100000?

6) Calculation: N is 5.

Result: There must be at least 16 (11+5) agents in the first check in order to positively locate the faulty bit in 2 hours, with a minimal amount of agents left in order to complete a second check.
Friendship is like peeing yourself. Anyone can see it, but only you get that warm feeling.
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
April 04 2011 16:14 GMT
#49
so?
Prev 1 2 3 All
Please log in or register to reply.
Live Events Refresh
Next event in 8h 3m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .343
LamboSC2 221
TKL 180
ProTech134
SteadfastSC 130
StarCraft: Brood War
Britney 45872
Calm 6216
Bisu 2937
EffOrt 978
Stork 592
Soma 549
firebathero 340
Mini 292
Rush 266
Soulkey 264
[ Show more ]
ggaemo 236
PianO 184
actioN 176
BeSt 164
hero 155
Dewaltoss 118
Mind 81
Aegong 55
Barracks 44
sorry 44
Hyun 34
JYJ 23
Shine 18
Movie 17
Hm[arnc] 15
Terrorterran 14
Sexy 14
soO 12
yabsab 10
Counter-Strike
fl0m947
pashabiceps691
ceh9422
byalli416
adren_tv56
Other Games
singsing2023
FrodaN1754
B2W.Neo706
hiko547
Beastyqt508
RotterdaM363
DeMusliM222
mouzStarbuck157
KnowMe143
QueenE120
Trikslyr35
Organizations
Other Games
BasetradeTV77
StarCraft: Brood War
Kim Chul Min (afreeca) 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• HeavenSC 36
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 17
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV1053
League of Legends
• Nemesis2926
• TFBlade1008
Upcoming Events
Replay Cast
8h 3m
The PondCast
18h 3m
OSC
1d 8h
RSL Revival
1d 18h
TriGGeR vs Cure
ByuN vs Rogue
Replay Cast
2 days
RSL Revival
2 days
Maru vs MaxPax
BSL
3 days
RSL Revival
3 days
uThermal 2v2 Circuit
3 days
BSL
4 days
[ Show More ]
Replay Cast
5 days
Sparkling Tuna Cup
5 days
Liquipedia Results

Completed

Proleague 2026-03-31
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
RSL Revival: Season 4
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

CSL Season 20: Qualifier 2
Escore Tournament S2: W1
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
StarCraft2 Community Team League 2026 Spring
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
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.