提交时间:2023-10-05 10:16:21
运行 ID: 105087
#include<bits/stdc++.h> using namespace std; int ans; inline int dfs(int n) { ans+=1; for(int i=1;i<=n/2;++i) dfs(i); } signed main() { int n; cin>>n; dfs(n); cout<<ans; return 0; }