p129ex3 - Powers of 2
Write a program that reads a positive integer and then finds the smallest power of two greater than or equal to the number that was read.
Each test case will input a single integer number.
You are to output a single integer number.
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Oct 22, 2008
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3