#include <stdio.h>
void swap(int *a,int*b){
int temp=*a;
*a=*b;
*b=temp;
}
int main(){
int data1[5]={1,2,3,4,5};
int data2[5]={6,7,8,9,10};
for(int i=0;i<5;i++){
}
for(int i=0;i<5;i++){
}
for(int i=0;i<5;i++){
swap(&data1[i],&data2[i]);
}
for(int i=0;i<5;i++){
}
for(int i=0;i<5;i++){
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiB2b2lkIHN3YXAoaW50ICphLGludCpiKXsKIAlpbnQgdGVtcD0qYTsKIAkqYT0qYjsKIAkqYj10ZW1wOwogfQppbnQgbWFpbigpewoJaW50IGRhdGExWzVdPXsxLDIsMyw0LDV9OwoJaW50IGRhdGEyWzVdPXs2LDcsOCw5LDEwfTsKICAgIHByaW50ZigiXG5kYXRhMToiKTsKICAgIAogICAgZm9yKGludCBpPTA7aTw1O2krKyl7CiAgICAJcHJpbnRmKCIlZCAiLGRhdGExW2ldKTsKICAgIH0JCiAgICAgcHJpbnRmKCJcbmRhdGEyOiIpOwogICAgIGZvcihpbnQgaT0wO2k8NTtpKyspewogICAgcHJpbnRmKCIlZCAiLGRhdGEyW2ldKTsKICAgIH0KICAgICBwcmludGYoIlxuIik7CiAgICBwcmludGYoIuWkieabtOW+jCIpOwoJZm9yKGludCBpPTA7aTw1O2krKyl7CgkJc3dhcCgmZGF0YTFbaV0sJmRhdGEyW2ldKTsKCX0KCiAgICBwcmludGYoIlxuZGF0YTE6Iik7CiAgICAKICAgIGZvcihpbnQgaT0wO2k8NTtpKyspewogICAgCXByaW50ZigiJWQgIixkYXRhMVtpXSk7CiAgICB9CiAgICBwcmludGYoIlxuZGF0YTI6Iik7CiAgICAgZm9yKGludCBpPTA7aTw1O2krKyl7CiAgICBwcmludGYoIiVkICIsZGF0YTJbaV0pOwogICAgfQogICAgCiAgICBwcmludGYoIlxuIik7CiAgICByZXR1cm4gMDsKfQogICAg