Lũy thừa của 2

View as PDF

Points: 5 (p) Time limit: 1.0s Memory limit: 100M Input: stdin Output: stdout

Cho số X tìm luỹ thừa nhỏ nhất của 2 lớn hơn hoặc bằng X.

Mô tả đầu vào

Gồm số X.

Ràng buộc

1 ≤ X ≤ \(10^{18}\)

Mô tả đầu ra

In ra số mũ của 2.

Ví dụ 1:
Input
200
Outut
8
Ví dụ 2:
Input
1
Outut
0

Comments

There are no comments at the moment.