#include <bits/stdc++.h>
using namespace std;
int main()
{
int a[10],b[10];
memset(a,0,sizeof a);//把a数组全部初始化为0;
for(int i=0;i<10;i++) cout<<a[i]<<" ";
cout<<endl;
memset(a,-1,sizeof a);//把a数组全部初始化为-1;
for(int i=0;i<10;i++) cout<<a[i]<<" ";
cout<<endl;
memcpy(b,a,sizeof a);//把a数组赋值给b数组;
for(int i=0;i<10;i++) cout<<b[i]<<" ";
cout<<endl;
return 0;
}