摘要: #include <bits/stdc++.h> using namespace std; void y(int a,int b,int c){ for(int k=3;k<=a;k++){ b=0,c=0; for(int m=2;m<=k/2;m++){ if(k%m==0){ b+=m; } 阅读全文
posted @ 2025-08-02 15:48 黛玉醉打将门神 阅读(5) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; void y(int k,int l){ if(k>0){ cout<<l; l++; k--; y(k,l); } } int main(int argc, char** argv) { int a; ci 阅读全文
posted @ 2025-08-02 15:16 黛玉醉打将门神 阅读(2) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int y(int l,int a,int b){ if(l>0){ l--; cout<<a<<" "; y(l,b,a+b); } } int main(int argc, char** argv) { 阅读全文
posted @ 2025-08-02 14:52 黛玉醉打将门神 阅读(6) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int y(int k){ if(k==0){ return 1; } return k*y(k-1); } int main(int argc, char** argv) { int a=5; cout<< 阅读全文
posted @ 2025-08-02 14:35 黛玉醉打将门神 阅读(4) 评论(0) 推荐(0)