Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163158 胡富航 13猴子吃桃 C++ Accepted 1 MS 276 KB 152 2026-10-24 14:57:33

Tests(10/10):


Code:

#include<iostream> using namespace std; int main() { int x=1,n; cin>>n; for(int i=1;i<=n-1;i++) { x=x*2+2; } cout<<x; return 0; }