• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:00
CET 00:00
KST 08:00
  • 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
ByuL: The Forgotten Master of ZvT29Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
BSL Season 223Vitality ends partnership with ONSYDE20Team Liquid Map Contest - Preparation Notice6Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza2Weekly Cups (Feb 16-22): MaxPax doubles0
StarCraft 2
General
GSL CK - new tournament Weekly Cups (Feb 23-Mar 1): herO doubles, 2v2 bonanza Vitality ends partnership with ONSYDE How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Team Liquid Map Contest - Preparation Notice
Tourneys
RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) $5,000 WardiTV Winter Championship 2026 Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 516 Specter of Death Mutation # 515 Together Forever Mutation # 514 Ulnar New Year
Brood War
General
BSL 22 Map Contest — Submissions OPEN to March 10 BGH Auto Balance -> http://bghmmr.eu/ battle.net problems ASL21 General Discussion BSL Season 22
Tourneys
ASL Season 21 Qualifiers March 7-8 [Megathread] Daily Proleagues BWCL Season 64 Announcement [BSL22] Open Qualifier #1 - Sunday 21:00 CET
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread PC Games Sales Thread Path of Exile No Man's Sky (PS4 and PC) Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
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
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Mexico's Drug War Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Gaming-Related Deaths
TrAiDoS
ONE GREAT AMERICAN MARINE…
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1785 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
Calgary25993 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 1h
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 281
SteadfastSC 188
ProTech144
JuggernautJason97
CosmosSc2 15
StarCraft: Brood War
Artosis 512
ggaemo 91
LancerX 16
Dota 2
monkeys_forever280
Counter-Strike
byalli615
Super Smash Bros
AZ_Axe81
PPMD37
Heroes of the Storm
Liquid`Hasu438
Other Games
gofns55120
tarik_tv18116
summit1g8459
Grubby3602
shahzam297
ToD170
C9.Mang0148
Maynarde86
Organizations
Other Games
gamesdonequick2293
BasetradeTV41
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 86
• musti20045 34
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Eskiya23 14
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade1473
Other Games
• imaqtpie1439
Upcoming Events
OSC
1h
Wardi Open
13h
PiGosaur Monday
1d 1h
WardiTV Team League
1d 13h
Replay Cast
2 days
The PondCast
2 days
WardiTV Team League
2 days
Replay Cast
3 days
Replay Cast
4 days
CranKy Ducklings
4 days
[ Show More ]
WardiTV Team League
4 days
uThermal 2v2 Circuit
4 days
Replay Cast
5 days
Sparkling Tuna Cup
5 days
WardiTV Team League
5 days
Replay Cast
6 days
Replay Cast
6 days
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

ASL Season 21: Qualifier #2
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
Spring Cup 2026
BSL Season 22
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
NationLESS Cup
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
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 © 2026 TLnet. All Rights Reserved.