#include<stdio.h>
int main()
{
    int n,s,i;
    while(scanf("%d",&n)!=EOF){
    s=1;
    for(i=n-1;i>=1;i--)
    {
        s=2*(s+1);
    }
    printf("%d",s);}
    return 0;
}

 

相关文章:

  • 2021-08-30
猜你喜欢
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案