B. 2023.05.25-暑期-第二题-游游的除2操作

    Type: Default 1000ms 256MiB

2023.05.25-暑期-第二题-游游的除2操作

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.

题目描述

塔子哥和朋友到郊外玩耍,偶然间,他获得nn棵长度随机的竹子,他每次都会进行如下操作:·选择一棵正数高度的竹子,砍去二分之一的长度(结果向下取整)。请你帮塔子哥计算一下,他最少多少次操作可以使得所有竹子长度相等?

输入描述

秋招模拟赛第29场|携程实习|2023.05.25

Not Attended
Status
Done
Rule
IOI
Problem
3
Start at
2023-6-19 19:00
End at
2023-6-19 20:30
Duration
1.5 hour(s)
Host
Partic.
11