Add "Bugs on a Log" #29

Merged
Mark merged 1 commits from bugs-on-log into main 2026-02-15 10:49:27 -08:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit e9a8441a7b - Show all commits

View File

@@ -0,0 +1,11 @@
#import "@local/handout:0.1.0": *
#show: handout.with(
title: [Warm-Up: Bugs on a Log],
by: "Mark",
)
#problem()
2013 bugs are on a meter-long line. Each walks to the left or right at a constant speed. \
If two bugs meet, both turn around and continue walking in opposite directions. \
What is the longest time it could take for all the bugs to walk off the end of the log?

View File

@@ -0,0 +1,6 @@
[metadata]
title = "Bugs on a Log"
[publish]
handout = true
solutions = true