|
Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Prepared by Ibrahim Mesecan.
Сложность Бета
Write a program which has a function largest2spower. largest2spower function takes a number (n) and finds the largest power of two whose result is less than or equal to the given number n
(1 <= n <= 4.000.000.000)
Sample Run 1:
Enter a number:1000
Sample Output 1:
9 // 29=512 and 210=1024
Sample Run 2:
Enter a number:100
Sample Output 2:
6 // 26=64 and 27=128 Для отправки решений необходимо выполнить вход.
|