题解 | #2的n次方计算#
2的n次方计算
https://www.nowcoder.com/practice/35a1e8b18658411388bc1672439de1d9
int main()
{
int a;
scanf("%d",&a);
printf("%d",1<<a);
return 0;
}
{
int a;
scanf("%d",&a);
printf("%d",1<<a);
return 0;
}
2的n次方计算
https://www.nowcoder.com/practice/35a1e8b18658411388bc1672439de1d9
相关推荐