• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:45
CEST 11:45
KST 18:45
  • 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
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris20Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : 2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Joined effort Flash On His 2010 "God" Form, Mind Games, vs JD New season has just come in ladder BW General Discussion Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Ro24 Group B [ASL20] Ro24 Group C BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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 Russo-Ukrainian War Thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2259 users

[Math Puzzle] Day14

Blogs > evanthebouncy!
Post a Reply
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
August 23 2009 08:22 GMT
#1
It's been such a long time!!


Last puzzle was lol haha...
I think the best solution we can have is this one:
Generate all nxn map possibilities.
For each nxn map, create k different parrallel maps such that k is the number of empty points in the maze, imagine the robot at all of these positions. and attempt to give it U/D/L/R directions on all k maps. if the 1st did not solve, solve the current state on the second one, and do it on the third... ect.

ANYWAYS that was a bad one. Here's something more accessible.

You are a wine owner with 1000 barrels of wine, and they are going to be shipped by next day. However, one of the barrel is poisoned. You have 10 test tubes worth of testing chemicals that could test this poison in however minute amount, however, the testing takes a full day to yield result.

How do you do it?

Again, put answer in spoilers, collaborate if you don't have it, and have fun!!! :D

Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Klockan3
Profile Blog Joined July 2007
Sweden2866 Posts
Last Edited: 2009-08-23 08:44:44
August 23 2009 08:43 GMT
#2
+ Show Spoiler +
Technically there is no problem since you didn't say that there was a problem shipping poisoned barrels...
But if that was a problem read this:
+ Show Spoiler +
You just take samples in such a way that you get the vials to be a binary basis.
Like, the first vial you take from every other, the next vial you take from 2, then not from 2 etc, the next from 4 then not 4. Continue up with that till you get 512 which is the tenth vial. Now when the test comes you just transform back into the normal basis and voilà.



Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2009-08-23 08:53:15
August 23 2009 08:46 GMT
#3
+ Show Spoiler +
http://www.teamliquid.net/blogs/viewblog.php?topic_id=71523
lazz
Profile Blog Joined January 2009
Australia3119 Posts
August 23 2009 09:39 GMT
#4
On August 23 2009 17:46 Slithe wrote:
+ Show Spoiler +
http://www.teamliquid.net/blogs/viewblog.php?topic_id=71523


+ Show Spoiler +

wow, binary is cool. didn't know you could apply it in that manner, awesome
50bani
Profile Blog Joined June 2009
Romania480 Posts
August 23 2009 10:24 GMT
#5
+ Show Spoiler +
add 24 barrels of water
1 count them from 0 to 1023 just for fun
2 take samples from odd numbered barrels
3 remove the odd numbered barrels in order, and concatenate the strings of barrels so the line of barrels looks like 1,3,5,7...0,2,4,6...
repeat from 1 until you have no more test tubes (count the tests as well, from 1 to 10)
when test result are done, you take them from the 10th to the first:
if positive write 1 on a piece of paper, else write 0
you can now "clear" half the barrels for human consumption so write OK on the barrels which are now obviously good(do i need to specify which or do you get it?)
invert step 3
and do this until all test results are accounted for which will leave you with all but one barrel cleared
also you can convert the number in base 10 if you don't do binaries and count that number backwards to the poisoned barrel
hope i did not screw this up lol


there is like a general case for solving this kind of shit, like CD error correction but i don't really know a lot about this branch of math
I'm posting on twoplustwo because I have always been amazed at the level of talent that populates this site --- it's almost unparalleled on the Internet.
MER
Profile Joined June 2008
Bulgaria125 Posts
Last Edited: 2009-08-23 11:09:33
August 23 2009 11:06 GMT
#6
Actually there is a very easy general method to solve this kind of problems:
+ Show Spoiler +

The problem will be solved if you can fill the vials with combined wine from the bottles in such a way so that there are no 2 different vials with wine from exactly the same combination of bottles and each bottle is represented in at least 1 vial (one bottle may not be represented because if all vials turn out to be clear then it is the poisoned one).
It can be easily seen that in our case we can:
For each bottle make a 10 digit binary number where we have 1 if the bottle is represented in the corresponding vial and 0 if not. So the problem is solved if we can generate 1000 different such numbers. But we can because all such numbers are 2^10 = 1024 > 1000.
Perguvious
Profile Blog Joined November 2008
United States1783 Posts
August 23 2009 12:09 GMT
#7
On August 23 2009 20:06 MER wrote:
Actually there is a very easy general method to solve this kind of problems:
+ Show Spoiler +

The problem will be solved if you can fill the vials with combined wine from the bottles in such a way so that there are no 2 different vials with wine from exactly the same combination of bottles and each bottle is represented in at least 1 vial (one bottle may not be represented because if all vials turn out to be clear then it is the poisoned one).
It can be easily seen that in our case we can:
For each bottle make a 10 digit binary number where we have 1 if the bottle is represented in the corresponding vial and 0 if not. So the problem is solved if we can generate 1000 different such numbers. But we can because all such numbers are 2^10 = 1024 > 1000.



+ Show Spoiler +
my brain exploded
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
August 24 2009 10:05 GMT
#8
On August 23 2009 17:46 Slithe wrote:
+ Show Spoiler +
http://www.teamliquid.net/blogs/viewblog.php?topic_id=71523


we should be friends just for that hahahaha
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Please log in or register to reply.
Live Events Refresh
Next event in 15m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Sea 6894
Killer 779
PianO 585
Larva 433
Pusan 384
ggaemo 364
Hyun 305
Rush 166
firebathero 155
Soma 151
[ Show more ]
Free 26
NotJumperer 22
Noble 21
NaDa 19
HiyA 15
Dota 2
XcaliburYe630
febbydoto3
League of Legends
Dendi508
JimRising 392
Counter-Strike
Stewie2K1624
olofmeister1377
Super Smash Bros
Mew2King20
Heroes of the Storm
Khaldor199
Other Games
summit1g7622
singsing1866
Happy298
SortOf118
Nina100
rGuardiaN7
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH463
• Reevou 8
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1089
Upcoming Events
Sparkling Tuna Cup
15m
WardiTV Summer Champion…
1h 15m
ByuN vs herO
MaxPax vs Zoun
Clem vs NightMare
SC Evo League
2h 15m
Chat StarLeague
6h 15m
Razz vs Julia
StRyKeR vs ZZZero
Semih vs TBD
Replay Cast
14h 15m
Afreeca Starleague
1d
Queen vs HyuN
EffOrt vs Calm
Wardi Open
1d 1h
RotterdaM Event
1d 5h
Replay Cast
1d 14h
Afreeca Starleague
2 days
Rush vs TBD
Jaedong vs Mong
[ Show More ]
WardiTV Summer Champion…
2 days
PiGosaur Monday
2 days
Afreeca Starleague
3 days
herO vs TBD
Royal vs Barracks
Replay Cast
3 days
The PondCast
4 days
WardiTV Summer Champion…
4 days
Replay Cast
4 days
LiuLi Cup
5 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
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.