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

PROGRAMMING:Barbecue cake (*)

Luz5年前 (2021-05-10)题库436
Lao Wang has a rectangular electric baking pot, which can bake two meat cakes at the same time. Each meat cake needs to be baked for 1 minute on both sides. Lao Wang is very smart. He can always bake meat cakes in the shortest time through reasonable scheduling. Please write a program to input the number of meat cakes and calculate how long Lao Wang can bake these meat cakes as soon as possible.
####Input format
>Number of patties (greater than 0)
####Output format
>Time (minutes)
####Input sample 1
```in
one
```
####Output sample 1
```out
two
```
####Input sample 2
```in
two
```
####Output sample 2
```out
two
```







answer:If there is no answer, please comment