#include <stdio.h>
void swap(int* x, int* y) {
int w = *x;
*x = *y;
*y = w;
}
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+CgoKdm9pZCBzd2FwKGludCogeCwgaW50KiB5KSB7CiAgICBpbnQgdyA9ICp4OwogICAgKnggPSAqeTsKICAgICp5ID0gdzsKfQoKaW50IG1haW4oKSB7CiAgIAogICAgaW50IGRhdGExWzVdID0gezEsIDIsIDMsIDQsIDV9OwogICAgaW50IGRhdGEyWzVdID0gezYsIDcsIDgsIDksIDEwfTsKICAgIAogICAgCiAgICBwcmludGYoIuS6pOaPm+WJjVxuIik7CiAgICBwcmludGYoImRhdGExICIpOwogICAgZm9yKGludCBpID0gMDsgaSA8IDU7IGkrKykgewogICAgICAgIHByaW50ZigiJWQgIiwgZGF0YTFbaV0pOwogICAgfQogICAgcHJpbnRmKCJcbmRhdGEyICIpOwogICAgZm9yKGludCBpID0gMDsgaSA8IDU7IGkrKykgewogICAgICAgIHByaW50ZigiJWQgIiwgZGF0YTJbaV0pOwogICAgfQogICAgCiAgICAKICAKICAgIGZvcihpbnQgaSA9IDA7IGkgPCA1OyBpKyspIHsKICAgICAgICBzd2FwKCZkYXRhMVtpXSwgJmRhdGEyW2ldKTsKICAgIH0KICAgIAogICAgCiAgICBwcmludGYoIlxu5Lqk5o+b5b6MIik7CiAgICBwcmludGYoIlxuZGF0YTEgIik7CiAgICBmb3IoaW50IGkgPSAwOyBpIDwgNTsgaSsrKSB7CiAgICAgICAgcHJpbnRmKCIlZCAiLCBkYXRhMVtpXSk7CiAgICB9CiAgICBwcmludGYoIlxuZGF0YTIgIik7CiAgICBmb3IoaW50IGkgPSAwOyBpIDwgNTsgaSsrKSB7CiAgICAgICAgcHJpbnRmKCIlZCAiLCBkYXRhMltpXSk7CiAgICB9CiAgICAKICAgIHJldHVybiAwOwp9