• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:25
CEST 06:25
KST 13:25
  • 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 Tall9HomeStory 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
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster How does the number of casters affect your enjoyment of esports?
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Help: rep cant save Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread
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
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 Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 665 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
Replay Cast
00:00
HSC 27: Groups C
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 288
Nina 284
ProTech54
CosmosSc2 28
StarCraft: Brood War
Aegong 61
Zeus 56
Noble 26
Icarus 9
LuMiX 4
Dota 2
monkeys_forever422
League of Legends
JimRising 876
Counter-Strike
summit1g8030
Super Smash Bros
hungrybox885
Other Games
shahzam1179
Organizations
Other Games
BasetradeTV80
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• practicex 45
• Sammyuel 22
• Berry_CruncH21
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Azhi_Dahaki31
• Diggity6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Lourlo1150
• masondota2637
• Stunt471
Upcoming Events
RSL Revival
5h 36m
herO vs SHIN
Reynor vs Cure
OSC
8h 36m
WardiTV European League
11h 36m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
11h 36m
Korean StarCraft League
22h 36m
CranKy Ducklings
1d 5h
RSL Revival
1d 5h
FEL
1d 11h
RSL Revival
2 days
FEL
2 days
[ Show More ]
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
4 days
The PondCast
5 days
Replay Cast
5 days
RSL Revival
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
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
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
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.