提交时间:2023-10-04 10:17:09

运行 ID: 104852

#include<bits/stdc++.h> using namespace std; int main(){ int a,i,s = 1; cin>>a; for(i = 1;i <= a + 1;i++){ s = s * 2; } cout<<s<<endl; }