• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:58
CEST 13:58
KST 20:58
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
ASL20 General Discussion ASL TICKET LIVE help! :D Soulkey on ASL S20 BW General Discussion NaDa's Body
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Borderlands 3 General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread UK Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1652 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
Map Test Tournament
11:00
$450 3v3 Open Cup
WardiTV259
IndyStarCraft 166
LiquipediaDiscussion
RSL Revival
10:00
Season 2: Playoffs Day 5
Cure vs TriGGeRLIVE!
Tasteless994
Crank 876
Rex123
CranKy Ducklings114
3DClanTV 75
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 994
Crank 876
Lowko253
IndyStarCraft 166
Rex 123
StarCraft: Brood War
Britney 34893
Calm 8682
Horang2 3407
Bisu 1929
Hyuk 856
Stork 348
actioN 340
ZerO 292
EffOrt 263
Snow 241
[ Show more ]
Pusan 238
Last 190
Mini 179
Light 172
Hyun 135
Soma 130
Soulkey 108
hero 71
Liquid`Ret 67
Mind 60
ggaemo 59
Rush 51
ToSsGirL 48
Sea.KH 36
Sharp 32
sorry 31
HiyA 30
Free 26
Sexy 23
JYJ20
scan(afreeca) 20
sas.Sziky 18
SilentControl 15
Icarus 13
Terrorterran 11
Dota 2
singsing3085
Dendi501
qojqva290
XcaliburYe184
Counter-Strike
olofmeister1940
x6flipin634
markeloff59
edward54
Other Games
B2W.Neo744
DeMusliM322
XaKoH 144
Pyrionflax143
Fuzer 104
NeuroSwarm46
Trikslyr13
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 980
CasterMuse 16
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1510
Other Games
• WagamamaTV201
Upcoming Events
The PondCast
1h 2m
RSL Revival
22h 2m
Zoun vs Classic
Korean StarCraft League
1d 15h
BSL Open LAN 2025 - War…
1d 20h
RSL Revival
1d 22h
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
3 days
Wardi Open
3 days
Monday Night Weeklies
4 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.