Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
41191 Jeremy 剪绳子 C++ 通过 0 MS 252 KB 152 2024-02-20 09:25:25

Tests(1/1):


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


测评信息: