From e9a8441a7bf1c3195c89d7eaec4837cc5e4f94ec Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 15 Feb 2026 10:24:18 -0800 Subject: [PATCH] Add "Bugs on a Log" --- src/Warm-Ups/Bugs/main.typ | 11 +++++++++++ src/Warm-Ups/Bugs/meta.toml | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 src/Warm-Ups/Bugs/main.typ create mode 100644 src/Warm-Ups/Bugs/meta.toml diff --git a/src/Warm-Ups/Bugs/main.typ b/src/Warm-Ups/Bugs/main.typ new file mode 100644 index 0000000..0a01431 --- /dev/null +++ b/src/Warm-Ups/Bugs/main.typ @@ -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? diff --git a/src/Warm-Ups/Bugs/meta.toml b/src/Warm-Ups/Bugs/meta.toml new file mode 100644 index 0000000..d979dd7 --- /dev/null +++ b/src/Warm-Ups/Bugs/meta.toml @@ -0,0 +1,6 @@ +[metadata] +title = "Bugs on a Log" + +[publish] +handout = true +solutions = true