摘要: #include <bits/stdc++.h> using namespace std; int jc(int a){ if(a<=2){ return a; } return jc(a-1)*a;; } int jch(int n){ int sum=0; if(n<=1){ return n; 阅读全文
posted @ 2024-07-10 15:57 fushuxuan1 阅读(11) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int n,sum=0; cin>>n; vector<int> b; b.push_back(1); for(int i=2;i<=n;i++){ for(int j=0;j<b.s 阅读全文
posted @ 2024-07-10 15:39 fushuxuan1 阅读(26) 评论(0) 推荐(0)