HDU/2013/main.c
Saturneric 0525ffad24 Add.
2020-09-01 00:48:58 +08:00

16 lines
231 B
C

#include <stdio.h>
int main(void){
int days = 0;
while(scanf("%d",&days) == 1){
int i = 0, numbers = 1;
for(i = 1; i < days; i++){
numbers += 1;
numbers *= 2;
}
printf("%d\n",numbers);
getchar();
}
return 0;
}