Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138688 鄢晨曦 13猴子吃桃 C++ Accepted 0 MS 272 KB 167 2025-11-29 14:26:55

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int t=1,n; cin>>n; for(int i=n-1;i>=1;i--){ t=(t+1)*2; } cout<<t; return 0; }