#include <stdio.h> int main(){ int n; if (scanf("%d",&n)!=EOF){ int sum=1; for (int i=0;i<n;i++){ sum*=2; } printf("2^%d = %d",n,sum); }else{ printf("input wrong"); } return 0; }
#include <stdio.h> int main(){ int n; if (scanf("%d",&n)!=EOF){ int sum=1; for (int i=0;i<n;i++){ sum*=2; } printf("2^%d = %d",n,sum); }else{ printf("input wrong"); } return 0; }
天 : 20083
小时 : 468607
分钟 : 28116399
秒 : 1686983940