Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153311 罗钰帆 13猴子吃桃 C++ Accepted 1 MS 268 KB 398 2026-05-14 19:05:35

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int i=0; int z=0,t=0,mt=1; cin>>t; t=t-1; for(i=1;i<=t;i++){ mt=(mt+1)*2; } cout<<mt; return 0; }