正解
2024-08-18 17:10:03
发布于:湖南
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
#define cai int
#define ji for
#define libulihainijige if
#define libulihainikunge else
#define liangnianban return
#define beidaiku cin
#define basketball cout
cai ikun(cai ngm){
cai taimei=0;
ji(cai music=ngm/2;music>=0;music--){
libulihainijige(music>1) {
taimei+=ikun(music);
}libulihainikunge{
taimei+=1;
}
}
liangnianban taimei;
}
cai main() {
cai chicken;
beidaiku>>chicken;
basketball<<ikun(chicken);
liangnianban 0;
}
这里空空如也
有帮助,赞一个