标签:style blog io color os sp for 数据 div
1 #include <stdio.h> 2 3 int main(){ 4 int T; 5 int m; 6 int i; 7 int result; 8 9 scanf("%d",&T); 10 11 while(T--){ 12 scanf("%d",&m); 13 14 result=1; 15 for(i=1;i<=m;i++) 16 result=(result+1)*2; 17 18 printf("%d\n",result); 19 } 20 return 0; 21 }
标签:style blog io color os sp for 数据 div
原文地址:http://www.cnblogs.com/zqxLonely/p/4098288.html