-->
当前位置:首页 > 题库

PROGRAMMING:Cycling and walking

Luz5年前 (2021-05-10)题库525
###Task description
In the campus of Peking University, it's very inconvenient to do things in class without a bicycle. But in fact, it's not always fast to ride a bicycle to do anything, because it takes some time to find, unlock, park and lock a bicycle; The time of parking and locking is 23 seconds; Walking 1.2 meters per second, cycling 3.0 meters per second. Please judge whether it's faster to ride or walk at different distances.
###Input format:
Enter a line, including an integer, indicating the distance to walk for a service, in meters.
###Output format:
Output a line. If you ride fast, output a line of "bike"; If you walk fast, output a line of "walk"; If it's as fast, output a line of "all".
###Input example:
```in
one hundred and twenty
```
###Output example:
```out
Bike
```
###Tips
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0104/12/ .







answer:If there is no answer, please comment