题解 | #计算球体的体积#
2的n次方计算
http://www.nowcoder.com/practice/35a1e8b18658411388bc1672439de1d9
#include<stdio.h>
int main()
{
int n=0;
while(~scanf("%d",&n)!=0)
{
printf("%d\n",1<<n);
}
return 0;
}
int main()
{
int n=0;
while(~scanf("%d",&n)!=0)
{
printf("%d\n",1<<n);
}
return 0;
}