标签:不容易 bottom script sam put otto pre nbsp 一半
分析:
此题和前面那道题是一个类型
链接:http://www.cnblogs.com/tenjl-exv/p/7976537.html
注意点:
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int n,m,sum; 6 cin>>n; 7 while(n--) 8 { 9 cin>>m; 10 sum=3; 11 while(m--) 12 sum=(sum-1)*2; 13 cout<<sum<<endl; 14 } 15 return 0; 16 }
标签:不容易 bottom script sam put otto pre nbsp 一半
原文地址:http://www.cnblogs.com/tenjl-exv/p/8016582.html