Add "Bugs on a Log" (#29)
Reviewed-on: #29
This commit was merged in pull request #29.
This commit is contained in:
11
src/Warm-Ups/Bugs/main.typ
Normal file
11
src/Warm-Ups/Bugs/main.typ
Normal 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?
|
||||
6
src/Warm-Ups/Bugs/meta.toml
Normal file
6
src/Warm-Ups/Bugs/meta.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[metadata]
|
||||
title = "Bugs on a Log"
|
||||
|
||||
[publish]
|
||||
handout = true
|
||||
solutions = true
|
||||
Reference in New Issue
Block a user