摘要: #include <bits/stdc++.h> using namespace std; int main(){ int a[1001]; int dong=0,cishu=10; bool b[1001]; for(int i=1;i<=10;i++){ b[i]=true; } for(int 阅读全文
posted @ 2023-09-24 10:00 fushuxuan1 阅读(26) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int t,n,a; int f(int n[],int a){ if(a==1){ t=n[1]; }else{ if(f(n,a-1)>n[a]){ t=f(n,a-1); }else{ t=n[a]; 阅读全文
posted @ 2023-09-24 09:59 fushuxuan1 阅读(14) 评论(0) 推荐(0)