hdu2178

超级水题

 1 #include <stdio.h>
 2 #include <stdlib.h>
 3 #include <math.h>
 4 int main()
 5 {
 6     int T, n;
 7 
 8     scanf( "%d", &T );
 9 
10     while( T -- )
11     {
12         scanf( "%d", &n );
13         printf( "%d\n", ( int )( pow( 2,  n ) - 1 ) );
14     }
15     return 0;
16 }

 

posted @ 2013-03-09 13:23  hacker_hzh  阅读(103)  评论(0)    收藏  举报