- 吐吐很快乐
终于会用函数了!!!
- 2024-11-29 23:00:36 @
#include <bits/stdc++.h>
using namespace std;
void aa(int a[],int b){
for(int i=1;i<=b;i++){
cin>>a[i];
}
}
void bb(int c[],int d){
for(int j=1;j<=d;j++){
cout<<c[j]<<" ";
}
}
int main(){
int s[100],v;
cin>>v;
aa(s,v);
bb(s,v);
return 0;
}