提交时间:2022-08-01 14:59:46

运行 ID: 56109

#include <bits/stdc++.h> using namespace std; int m,n; int main(){ cin>>m>>n; cout<<(1<<(max(m-1,n-1)+1))-(1<<min(m-1,n-1)); return 0; }