int f(int n){ static int i = 1; if(n >= 5) return n; n = n + i; i++; return f(n); }
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题