正只因题解
2024-09-02 21:09:26
发布于:福建
1阅读
0回复
0点赞
#include<bits/stdc++.h>
#define ikun int
#define changtiao cin
#define basketball cout
#define rap for
#define jinitaimei ;
#define ohbaby =
#define ohbaby1 <=
#define ohbaby2 /
#define ohbaby3 +=
#define baozha ++
using namespace std jinitaimei
ikun main(){
ikun kun jinitaimei
changtiao >> kun jinitaimei
ikun cai[kun] jinitaimei
cai[1] ohbaby 1 jinitaimei
cai[2] ohbaby 2 jinitaimei
rap(ikun k ohbaby 3 jinitaimei k ohbaby1 kun jinitaimei k baozha){
cai[k] ohbaby 1 jinitaimei
rap(ikun j ohbaby 1 jinitaimei j ohbaby1 k ohbaby2 2 jinitaimei j baozha)
cai[k] ohbaby3 cai[j] jinitaimei
}
basketball << cai[kun] jinitaimei
return 0 jinitaimei
}
这里空空如也
有帮助,赞一个