• ACM
  • P1244真尼玛恶心,看了几十遍没看懂,看懂后人蒙了,自己看代码

  • @ 2024-11-17 20:05:55
#include <iostream>
using namespace std;
int main(){
    int h,k;
    cin>>h>>k;
    cout<<(k+1)*(1<<h);
    return 0;
}

0 comments

No comments so far...