ikun必用
2024-08-16 16:35:06
发布于:浙江
2阅读
0回复
0点赞
在dext.top代码的基础下改编的(没开玩笑真能用)
#include<bits/stdc++.h>
#define ikun int
#define jinitaimei for
#define niganmahahahaiyou return
using namespace std;
ikun kun=1;
ikun kunge=2;
ikun kunkun=3;
ikun caixukun=0;
ikun main(){
ikun cai;
cin>>cai;
ikun xu[cai];
xu[kun]=kun;
xu[kunge]=kunge;
jinitaimei(ikun ji=kunkun;ji<=cai;ji++){
xu[ji]=kun;
jinitaimei(ikun zhiyin=kun;zhiyin<=ji/kunge;zhiyin++)
xu[ji]+=xu[zhiyin];
}
cout<<xu[cai];
niganmahahahaiyou caixukun;
}
这里空空如也
有帮助,赞一个