提交时间:2024-02-20 09:25:25

运行 ID: 41191

//剪绳子 2^n+1 #include<iostream> #include<cmath> using namespace std ; int n; int main() { cin>>n; cout<<pow(2,n)+1<<endl; return 0; }