Back

Please help me to solve this code

Created 3 years ago
1441 Views
4 Comments
KAVIARASUqqE5eR
@KAVIARASUqqE5eR
KAVIARASUqqE5eR
@KAVIARASUqqE5eRProfile is locked. Login

Write a code to get a integer n as input and calculate the smallest perfect power of 2 greater than n.

Input Description:
A single line containing an integer,n.

Output Description:
Print the smallest perfect power of 2 greater than n.

Sample Input :
48
Sample Output :
64
Comments (4)
Please login to comment.