Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75776 陈昊然 13猴子吃桃 C++ Accepted 1 MS 280 KB 162 2024-05-28 19:55:33

Tests(10/10):


Code:

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