The previous number is 3
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program should read a natural number n from the console and determine the largest power of two that is less than n.
Input
A natural number n.
Output
The largest power of two less than n.
Examples
Input #1
Answer #1
Input #8
Answer #8
Input #9
Answer #9
Submissions 8K
Acceptance rate 38%