Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141058 胡海峰老师 桃子问题 C++ Accepted 0 MS 264 KB 246 2025-12-20 21:30:09

Tests(1/1):


Code:

#include <iostream> //designed by hu 2025-10 using namespace std; int peach(int day){ if(day==10) { return 1; } int tot = peach(day+1) * 2 + 2; return tot; } int main(){ int res = peach(1); cout<<res; return 0; }