• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:19
CET 06:19
KST 14:19
  • 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] Finals Preview: Arrival8TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
Merivale 8 Open - LAN - Stellar Fest1Chinese SC2 server to reopen; live all-star event in Hangzhou21Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET10Weekly Cups (Oct 6-12): Four star herO8
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Merivale 8 Open - LAN - Stellar Fest Tenacious Turtle Tussle RSL Season 3 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
[ASL20] Finals Preview: Arrival Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ BSL Team A vs Koreans - Sat-Sun 16:00 CET OGN to release AI-upscaled StarLeague from Feb 24
Tourneys
[ASL20] Grand Finals ASL final tickets help Small VOD Thread 2.0 [Megathread] Daily Proleagues
Strategy
Roaring Currents ASL final Simple Questions, Simple Answers Relatively freeroll strategies BW - ajfirecracker Strategy & Training
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Path of Exile Dawn of War IV
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1693 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 2h 41m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 382
NaDa 37
Dota 2
NeuroSwarm84
League of Legends
JimRising 828
Counter-Strike
Stewie2K67
Heroes of the Storm
Khaldor156
Other Games
summit1g9515
WinterStarcraft450
ViBE145
Organizations
Other Games
gamesdonequick787
StarCraft: Brood War
Afreeca ASL 278
Other Games
BasetradeTV88
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH186
• practicex 48
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 19
• Diggity7
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt336
Upcoming Events
Afreeca Starleague
2h 41m
Snow vs Soma
Sparkling Tuna Cup
4h 41m
WardiTV Invitational
6h 41m
CrankTV Team League
7h 41m
BASILISK vs Streamerzone
Team Liquid vs Shopify Rebellion
Team Vitality vs Team Falcon
BSL Team A[vengers]
9h 41m
Gypsy vs nOOB
JDConan vs Scan
RSL Revival
11h 41m
Wardi Open
1d 6h
CrankTV Team League
1d 7h
Replay Cast
2 days
WardiTV Invitational
2 days
[ Show More ]
CrankTV Team League
2 days
Replay Cast
3 days
CrankTV Team League
3 days
Replay Cast
3 days
The PondCast
4 days
CrankTV Team League
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
CranK Gathers Season 2: SC II Pro Teams
EC S1
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
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.