猴子吃桃问题
2014-01-16
#include<stdio.h>
int main()
{
int test;
scanf("%d",&test);
while(test--)
{
int n,m;
scanf("%d",&m);
n=1;
while(m--)
{
n=(n+1)*2;
}
printf("%d\n",n);
}
return 0;
}