Run ID:137243
提交时间:2025-11-16 21:21:19
#include <iostream> using namespace std; int f(int n) { if (n == 10) { return 1; } return (f(n + 1) + 1) * 2; } int main() { int res = f(1); cout << res << endl; return 0; }