//2042不容易系列
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
getchar();
while (n--)
{
int a;
cin >> a;
int t = 3;
for (int i = 1; i <= a; i++)
{
t = (t - 1) * 2;
}
cout << t<< endl;
}
return 0;
}
hdu 42 不容易系列2
最新推荐文章于 2024-07-25 12:39:48 发布