• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:59
CEST 08:59
KST 15:59
  • 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
HomeStory 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 Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7
Community News
Flash Announces Retirement From ASL9Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation CONSULT ALPHA SPY NEST EXPERTS FOR YOUR LOST BTC Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports?
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
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
Flash Announces Retirement From ASL ASL20 Preliminary Maps BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
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 Trading/Investing Thread Things Aren’t Peaceful in Palestine Stop Killing Games - European Citizens Initiative Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
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
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 686 users

[Math Puzzle] Day 1

Blogs > evanthebouncy!
Post a Reply
1 2 Next All
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-04-27 17:39:20
April 27 2009 17:13 GMT
#1
I stopped playing massive game so I'll keep u guys entertained with these puzzles. This is round 1. The first to have the right answer with correct methods and intuitions(and put into a spoiler here) will be in honorary mention in the next round. I'll give more clarifications as I see people making different assumptions than what is intended(there are some math conventions not being explicit but expected).
Should be fun, shall we go?

[image loading]

You have a stick that is 100cm long, and you can place ants on it. The ants can be placed anywhere on the stick, and facing anyway.
Important facts:
-Ants takes no length, you can think of them as dots.
-Ants crawls at 1cm/s.
-When 2 ants run into each other, they immediately turn back on each other and crawls away from each other.
-Ants will fall off at the edge.

Your Experiment:
Place 100 ants on the stick anyway you want, i.e. any direction/position. And start stopwatch. When the clock begins to tick, the ants will begin to crawl, collide, and fall off the edge. When the last ant falls off the stick, stop stopwatch.

Your Job:
Maximize the time recorded on your watch with a particular configuration of ants.

Good Luck!

What I hope:
People posting and discussing the problem. I hate writing blogs with no replies.

Clarifications:
-Stick is 1-dimentional
-Ants CAN be placed at the same spot in a sense that since ants are points, you can have the distances between two points as small as possible, while maintaining that one point is on the left/right of another.

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!
phase
Profile Blog Joined January 2008
United States399 Posts
April 27 2009 17:28 GMT
#2
question of clarification: can multiple ants occupy the same spot?

+ Show Spoiler +

Assuming ants take up 1cm each:
Start at the left of the stick and place ants starting at 0cm to 100cm on the stick, with no ants at 50cm. The ants from 0cm-49cm should be facing left, and the ants from 51cm to 100cm should be facing right. This way, there are no ant collisions and each second, two ants fall off the stick. THere should be no ants on the stick by just after 49 seconds

Assuming ants don't really take up space and you are really precise with placing ants:
Place an equal number of ants at both 0cm and 100cm in such a way that each ant is incrementally spaced between itself and another ant. Set them up facing their respective ends of the sticks. Almost right after you start, there should be no ants on the stick.
NathanSC
Profile Blog Joined February 2008
United States620 Posts
April 27 2009 17:33 GMT
#3
On April 28 2009 02:28 phase wrote:
question of clarification: can multiple ants occupy the same spot?

+ Show Spoiler +

Assuming ants take up 1cm each:
Start at the left of the stick and place ants starting at 0cm to 100cm on the stick, with no ants at 50cm. The ants from 0cm-49cm should be facing left, and the ants from 51cm to 100cm should be facing right. This way, there are no ant collisions and each second, two ants fall off the stick. THere should be no ants on the stick by just after 49 seconds

Assuming ants don't really take up space and you are really precise with placing ants:
Place an equal number of ants at both 0cm and 100cm in such a way that each ant is incrementally spaced between itself and another ant. Set them up facing their respective ends of the sticks. Almost right after you start, there should be no ants on the stick.

Your Job:
Maximize the time recorded on your watch with a particular configuration of ants.
LiAlH4
Profile Joined October 2007
New Zealand111 Posts
April 27 2009 17:33 GMT
#4
+ Show Spoiler +

Well by using the picture you gave us as an idea of the nature of the stick - i.e. round and presumably having edges only at the two cut ends...
Have all the ants facing perpendicular to the length of stick. They will all walk the circumference of the stick ad infinitum, and never fall off.
seppolevne
Profile Blog Joined February 2009
Canada1681 Posts
April 27 2009 17:35 GMT
#5
On April 28 2009 02:33 LiAlH4 wrote:
+ Show Spoiler +

Well by using the picture you gave us as an idea of the nature of the stick - i.e. round and presumably having edges only at the two cut ends...
Have all the ants facing perpendicular to the length of stick. They will all walk the circumference of the stick ad infinitum, and never fall off.


GG
J- Pirate Udyr WW T- Pirate Riven Galio M- Galio Annie S- Sona Lux -- Always farm, never carry.
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
April 27 2009 17:49 GMT
#6
+ Show Spoiler +
50 ants from 0cm-49cm, spaced 1cm apart, all facing 100 cm, and 50 ants from 51cm-100cm, spaced 1cm apart, all facing 0cm. When it starts the first pair (49cm and 51cm) will collide and turn around, and then collide with the ants directly behind them, sending a wave in either direction that will lead to a pair of ants falling off each end and the rest traveling back towards the center, ending with the middle pair being the last ants to fall off (after 50 revolutions of the situation above.)
Oddly enough, I believe this will only last 2 seconds longer than just putting a single ant at 0cm facing 100cm, but I could be wrong.
There might be more efficient ways to do it as far as positioning, but the above is the general idea.
Chill
Profile Blog Joined January 2005
Calgary25979 Posts
April 27 2009 17:51 GMT
#7
Oh I thought the stick was two dimensional haha
Anyways I suck at these kind of things but I'll be reading the replies.
Moderator
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
Last Edited: 2009-04-27 17:55:53
April 27 2009 17:52 GMT
#8
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good
Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
Last Edited: 2009-04-27 17:57:39
April 27 2009 17:56 GMT
#9
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good

+ Show Spoiler +
Damn, you are right, my solution assumed 102 ants and a 102 centimeter stick because I am retarded.
SoulMarine
Profile Blog Joined January 2009
United States586 Posts
April 27 2009 17:59 GMT
#10
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


win
베이비 폭스 WeMade 파이팅! ~ WeMade 팬 ~ BaBy 팬 ~ щ(゚Д゚щ) Gee Gee Gee Gee BaBy BaBy BaBy ♫♫
magusmind
Profile Blog Joined May 2008
50 Posts
April 27 2009 18:02 GMT
#11
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into each other and reverse direction, you can view this as two ants passing through each other. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


brilliant
myzael
Profile Blog Joined November 2008
Poland605 Posts
April 27 2009 18:02 GMT
#12
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good

Win. Shame I haven't even thought of the problem this way
Osmoses
Profile Blog Joined October 2008
Sweden5302 Posts
April 27 2009 18:19 GMT
#13
Day[9] wins the day. I was too busy trying to find some flaw about collision detection since the ants were minuscule to even begin to think about what a 1-dimensional stick really entailed
Excuse me hun, but what is your name? Vivian? I woke up next to you naked and, uh, did we, um?
vAltyR
Profile Blog Joined July 2008
United States581 Posts
April 27 2009 18:38 GMT
#14
Day[9]: Lateral thinking FTW.
내 호버크라프트는 장어로 가득 차 있어요
Polemarch
Profile Joined August 2005
Canada1564 Posts
April 27 2009 18:45 GMT
#15
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


this is a neat problem because we naturally think of the problem by simulating it from an individual ant's perspective, which can get really complex. it takes a zerg player's hive mind to think of the set of ants this way.
I BELIEVE IN CAPITAL LETTER PUNISHMENT!!!!!
Pseudo_Utopia
Profile Blog Joined December 2002
Canada827 Posts
April 27 2009 19:29 GMT
#16
I think if you place 50 ants at left end, walking towards right and 50 ants at right end walking towards left, you maximize the time. You can think of it Day's way.
Retired SchiSm[LighT]
Chromyne
Profile Joined January 2008
Canada561 Posts
April 27 2009 19:38 GMT
#17
Another way to think of Day[9]'s solution is
+ Show Spoiler +
to have all the ants lined up from one end to the other and facing the same direction. It's essentially that one ant on the end walking across the entire length of the stick.
Soli Deo gloria.
Archaic
Profile Blog Joined March 2008
United States4024 Posts
April 27 2009 19:45 GMT
#18
It's a true pleasure to read and hear Day[9]'s mind at work, imo.
edahl
Profile Joined February 2008
Norway483 Posts
April 27 2009 19:55 GMT
#19
+ Show Spoiler +
I'm thinking that the time it takes between each ant falling off is around quadratic, but then I thought the integral of log x would be nice. So I'm guessing x(log(x)-1)-100=0, where x is seconds. So that would be around a hundred. I'd try for one better, but I'm busy ^^
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
Last Edited: 2009-04-27 20:37:50
April 27 2009 20:37 GMT
#20
On April 28 2009 03:45 Polemarch wrote:
Show nested quote +
On April 28 2009 02:52 Day[9] wrote:
100s

+ Show Spoiler +
when two ants bump into eachother and reverse direction, you can view this as two ants passing through eachother. That is, you can just imagine placing ants and they walk mindlessly straight until they fall off. So, just place one ant at the far end of the stick facing the other direction, and place the other ants however the hell you want. all the ants will walk off in <=100s with at least one taking exactly 100s


hot damn i'm good


this is a neat problem because we naturally think of the problem by simulating it from an individual ant's perspective, which can get really complex. it takes a zerg player's hive mind to think of the set of ants this way.


or just a math major :p
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!
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 9h 1m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
trigger 117
StarCraft: Brood War
Britney 22249
Noble 34
Aegong 26
ajuk12(nOOB) 12
Bale 4
NotJumperer 1
League of Legends
JimRising 633
Counter-Strike
summit1g7755
Stewie2K825
Super Smash Bros
Mew2King165
Heroes of the Storm
Khaldor106
Other Games
shahzam709
WinterStarcraft410
SortOf39
Organizations
Other Games
gamesdonequick849
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2149
League of Legends
• Lourlo1063
• Stunt419
Upcoming Events
uThermal 2v2 Circuit
9h 1m
Replay Cast
17h 1m
The PondCast
1d 3h
RSL Revival
1d 3h
ByuN vs Classic
Clem vs Cham
WardiTV European League
1d 9h
Replay Cast
1d 17h
RSL Revival
2 days
herO vs SHIN
Reynor vs Cure
WardiTV European League
2 days
FEL
2 days
Korean StarCraft League
2 days
[ Show More ]
CranKy Ducklings
3 days
RSL Revival
3 days
FEL
3 days
Sparkling Tuna Cup
4 days
RSL Revival
4 days
FEL
4 days
BSL: ProLeague
4 days
Dewalt vs Bonyth
Replay Cast
5 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
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
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.