Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138690 李昱龙 13猴子吃桃 C++ Accepted 0 MS 272 KB 170 2025-11-29 14:27:09

Tests(10/10):


Code:

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