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;
}
2023-10-25 08:11:22
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;
}
下一篇:hibernate安装和配置