练19.4 骑车与走路
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
On the Tsinghua campus, not having a bicycle can be inconvenient for attending classes and running errands. However, not all tasks are faster by bike, as finding a bike, unlocking it, parking, and locking it again can take time. Assume it takes seconds to find a bike, unlock it, and start riding; it takes seconds to park and lock the bike; walking speed is meters per second, and biking speed is meters per second. Determine whether biking or walking is faster for different distances. If biking is faster, output "Bike"; if walking is faster, output "Walk"; if they are the same, output "All".
Input Format
Input a single line containing an integer, representing the distance to travel for an errand in meters.
Output Format
Output a single line. If biking is faster, output "Bike"; if walking is faster, output "Walk"; if they are the same, output "All".
Sample
120Bike
20251129 A班作业(8)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-11-29 0:00
- Deadline
- 2025-12-14 23:59
- Extension
- 24 hour(s)