柯昊阳 • 1年前
using namespace std; int main(){
int h,k; cin>>h>>k; int ans = 1; for(int i = 1;i<=h;i++) ans*=2; cout<<(k+1)*ans<<endl; return 0;
}
评论: