• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:14
CEST 22:14
KST 05:14
  • 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
TL.net Map Contest #22 - Voting & Ladder Map Selection1Code S Season 2 (2026) - RO8 Preview4[ASL21] Finals Preview: Two Legacies21Code S Season 2 (2026) - RO12 Preview2herO wins GSL Code S Season 1 (2026)7
Community News
StarCraft II 5.0.16 PTR Patch Notes may 26th84Weekly Cups (May 18-25): MaxPax wins doubles0Crank Gathers Season 4: BW vs SC2 Team League4Weekly Cups (May 11-17): Classic wins double1Code S Season 1 (2026) - RO8 Results2
StarCraft 2
General
StarCraft II 5.0.16 PTR Patch Notes may 26th TL Poll: How do you feel about the 5.0.16 PTR balance changes? Changing from 12 to 8 is just asking for StarCraft Weekly Cups (May 11-17): Classic wins double TL.net Map Contest #22 - Voting & Ladder Map Selection
Tourneys
GSL Code S Season 2 (2026) Sparkling Tuna Cup - Weekly Open Tournament Crank Gathers Season 4: BW vs SC2 Team League GSL Code S Season 1 (2026) Maestros of The Game 2 announcement and schedule !
Strategy
[G] Having the right mentality to improve
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Welcome to the External Content forum Mutation # 527 Hell Train The PondCast: SC2 News & Results Mutation # 526 Rubber and Glue
Brood War
General
VPN experiences FlaShFTW vs A.Alm Grudge Match Event BGH Auto Balance -> http://bghmmr.eu/ Every Matchup's Top 5 Winrates (all ASLs & KSLs) Pros React To: ASL S21 Finals
Tourneys
[ASL21] Grand Finals [Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 [BSL22] WB Final & LB Semis - Saturday 21:00 CEST
Strategy
Any training maps people recommend? Muta micro map competition [G] Hydra ZvZ: An Introduction Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread ZeroSpace Megathread Path of Exile Dawn of War IV
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Trading/Investing Thread Dating: How's your luck?
Fan Clubs
The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
Customization Drives Loyalty…
TrAiDoS
Why RTS gamers make better f…
gosubay
ramps on octagon
StaticNine
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 4735 users

Road Runner Math Problem!

Blogs > Slithe
Post a Reply
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 29 2008 10:24 GMT
#1
This one I think is pretty nifty, I hope you guys enjoy it. I feel like some of the parts might be confusing to understand, so please ask for clarification if needed.

Wile E. Coyote just got a shipment of an infinite number of bombs, and he's ready to blow up the Road Runner once and for all. However, the rules of the game this time around are a bit different from the usual.

You see, this world is one dimensional, so the Road Runner only runs in a straight line. Also, the world is discrete, and everything has integer values. The Road Runner starts at an integer location and moves at a constant integer velocity. Since time is also discrete, the Road Runner warps from his current location to his next location every second, instead of running continuously on the line.

The problem for Wile E. Coyote is that he doesn't know the Road Runner's velocity or starting location, but he can fire one bomb at any location, every second.

Devise a strategy for Wile E. Coyote that, given an infinite amount of time, assures that he will finally be able to blow up the Road Runner.

*****
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
Last Edited: 2008-01-29 10:28:33
January 29 2008 10:28 GMT
#2
wah wah wah

wile e coyote should just detonate the same location every time because a 1 dimensional random walk returns to its original location with 100% probability.

dink success
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
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 29 2008 10:33 GMT
#3
It's not a random walk, the Road Runner moves in a straight line at some velocity. Actually, the Road Runner never ends up at the same location twice.
Polemarch
Profile Joined August 2005
Canada1564 Posts
Last Edited: 2008-01-29 20:13:37
January 29 2008 10:39 GMT
#4
+ Show Spoiler [Sketch solution] +

This is basically the same as what you posted last time with the mapping of 2D integers to the natural numbers. I'm sure you did that on purpose, very nice.

Assuming he knew Roadrunner's starting position and velocity, Wile E. Coyote could easily calculate where to bomb based on how much time had elapsed. So he just has to cover all the possibilities by doing that spiral walk on the 2D integer space of (starting position, velocity).
I BELIEVE IN CAPITAL LETTER PUNISHMENT!!!!!
Lemonwalrus
Profile Blog Joined August 2006
United States5465 Posts
Last Edited: 2008-01-29 10:57:32
January 29 2008 10:41 GMT
#5
I couldn't simplify the problem enough for the math that I know to solve it, so I'm just going to say you cheated and walk away.
+ Show Spoiler +
I know essentially, in 2 dimensions, you have to find a curve that intersects with every possible non-horizontal, non-vertical line starting on t=0, this doesn't work with the discreteness and the one bomb a second rule, but I am assuming it is a small adjustment from that to the answer, idk, somebody please tell me if I am on the right track.
BottleAbuser
Profile Blog Joined December 2007
Korea (South)1888 Posts
January 29 2008 11:06 GMT
#6
Are you guys professors or something? Maybe Polemarch isn't, based on his sig. Slithe?

+ Show Spoiler +
See "Hotel Infinity" entry to this blog. Slithe shows a diagram of mapping a 1-d line to 2 dimensions.

Infinity is indeed very awesome.
Compilers are like boyfriends, you miss a period and they go crazy on you.
Tadzio
Profile Blog Joined October 2006
3340 Posts
Last Edited: 2008-01-29 11:42:32
January 29 2008 11:29 GMT
#7
I may not understand the problem but....

+ Show Spoiler +

baleted
jtan
Profile Blog Joined April 2003
Sweden5891 Posts
January 29 2008 11:36 GMT
#8
Nice post, not too hard but I liked it!

Tadzio00; Z is a discrete infinite set.
Enter a Uh
Muirhead
Profile Blog Joined October 2007
United States556 Posts
January 29 2008 11:59 GMT
#9
Nice solution polemarch... I'm sorry I saw this too late. I think I might also start posting problems soon.
starleague.mit.edu
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 29 2008 16:46 GMT
#10
Haha I'm not professor, far from it. I'm just an undergraduate computer science major. I get most of these problems from other students who also like doing this stuff. I don't know there they get these though.

Polemarch is correct in noticing that the mapping I showed from my hotel infinity blog is the exact same thing. I think he answered my blog with the answer within like 10 minutes or something absurd like that. I may have to require that polemarch give everyone else at least a day before ravaging my problems so quickly haha.

Muirhead, you should totally post problems up. That would be awesome, cause then I can try and solve some too.
Muirhead
Profile Blog Joined October 2007
United States556 Posts
January 29 2008 17:10 GMT
#11
I just posted my first problem . See if you can solve it... either Slithe or polemarch. Also tell me what you think of the difficulty and subject. I can vary both of those quite a bit.
starleague.mit.edu
Polemarch
Profile Joined August 2005
Canada1564 Posts
January 29 2008 20:20 GMT
#12
Sorry, that was pretty inconsiderate to not even use spoilers. Now fixed. I know that reading a solution is nowhere near as satisfying as working it out yourself, and that it takes a LOT of self control not to. So... I'll be good.
I BELIEVE IN CAPITAL LETTER PUNISHMENT!!!!!
EmeraldSparks
Profile Blog Joined January 2008
United States1451 Posts
January 30 2008 22:54 GMT
#13
+ Show Spoiler +
Roadrunner travels at x_0+vt. Consider a coordinate grid with an x_0-axis and a v-axis, where each point represents the roadrunner's travel function. At time zero, start from the origin and progressively work your way outward in squares, evaluating the point's function at whatever time you got there at.
But why?
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 31 2008 04:03 GMT
#14
Yes Emerald that is the correct answer. Good Job.
pat777
Profile Blog Joined December 2004
United States356 Posts
January 31 2008 04:17 GMT
#15
Does Wile know the direction the Road Runner is running?
Salv
Profile Blog Joined December 2007
Canada3083 Posts
January 31 2008 04:25 GMT
#16
I like this thread. Not because I like to solve these questions, but I'm always amazed at
A ) The difficulty of these questions.
B ) The vast amounts of math that I have no clue of.
C ) Seeing someone get it right (like Emerald) I find impressive.
Slithe
Profile Blog Joined February 2007
United States985 Posts
January 31 2008 04:34 GMT
#17
To pat777: Velocity is both speed and direction, so Wile does not know Road Runner's direction.
pat777
Profile Blog Joined December 2004
United States356 Posts
Last Edited: 2008-02-02 12:07:24
January 31 2008 11:53 GMT
#18
+ Show Spoiler +
Ok, Draw a graph of plane xy. I define x as the starting point and y as the velocity. Each integer point on the graph will generate a set with elements for each second. y=0 will generate {x,x,x...}. Point (1,1) will generate (1, 2, 3, 4...). Start from point (0, 0) and pick the first element from the set to bomb. Then move one integer right on the plane and pick the 2nd element from the set. Then move one integer up on the plane and pick the 3rd element from the set. Then move one integer left and pick the 4th element from the set. Move another integer left and pick the 5th element from the set. Move an integer down and pick the 6th element from the set. Continue spiraling out and you will eventually hit the roadrunner.
Please log in or register to reply.
Live Events Refresh
BSL
19:00
S22 - WB Final & LB Semis
TerrOr vs Dewalt
Bonyth vs eOnzErG
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 859
PiGStarcraft274
JuggernautJason88
ProTech80
elazer 78
BRAT_OK 74
Railgan 62
ForJumy 19
Vindicta 15
StarCraft: Brood War
Britney 17404
ZZZero.O 459
ajuk12(nOOB) 14
NaDa 9
Dota 2
capcasts40
League of Legends
Doublelift1960
JimRising 59
Counter-Strike
fl0m1915
Other Games
Grubby5735
Beastyqt658
Liquid`Hasu132
KnowMe108
Trikslyr53
Chillindude43
UpATreeSC36
MindelVK8
minikerr8
fpsfer 2
Organizations
Other Games
gamesdonequick946
EGCTV537
BasetradeTV257
Counter-Strike
PGL206
StarCraft 2
angryscii 27
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 58
• printf 43
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• FirePhoenix5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota269
Upcoming Events
Replay Cast
3h 47m
RSL Revival
10h 47m
Lambo vs Rogue
Clem vs TBD
herO vs TBD
Maestros of the Game
16h 47m
SHIN vs Nicoract
Rogue vs Gerald
ByuN vs Shameless
Cure vs TriGGeR
OSC
16h 47m
IPSL
19h 47m
Dragon vs Artosis
dxtr13 vs Hawk
BSL
22h 47m
Wardi Open
1d 15h
Monday Night Weeklies
1d 19h
Replay Cast
2 days
Sparkling Tuna Cup
2 days
[ Show More ]
WardiTV Spring Champion…
2 days
Maestros of the Game
2 days
The PondCast
3 days
Kung Fu Cup
3 days
Maestros of the Game
3 days
Replay Cast
4 days
Replay Cast
4 days
WardiTV Spring Champion…
4 days
Maestros of the Game
4 days
Replay Cast
5 days
uThermal 2v2 Circuit
5 days
Maestros of the Game
5 days
Replay Cast
6 days
Solar vs Classic
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

Escore Tournament S2: King of Kings
2026 GSL S1
Heroes Pulsing #1

Ongoing

2026 KK StarCraft Pro League
BSL Season 22
IPSL Spring 2026
KCM Race Survival 2026 Season 2
KK 2v2 League Season 1
Acropolis #4
CSCL: Masked Kings S4
YSL S3
SCTL 2026 Spring
WardiTV Spring 2026
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
Murky Cup 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026

Upcoming

BSL 22 Non-Korean Championship
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
uThermal 2v2 2026 Main Event
Heroes Pulsing #3
Heroes Pulsing #2
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
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.