蟠桃记

来源:互联网 发布:node sass 安装失败 编辑:程序博客网 时间:2024/05/02 02:41
#include<stdio.h>
int main()
{
 int n,x;
 while(scanf("%d",&n)!=EOF)
 {
  x=1;
  for(int i=n;i>1;i--)
  {
   x=(x+1)*2;
  }
  printf("%d\n",x);
 }
 
 
 return 0;
}
0 0
原创粉丝点击