#include <stdio.h>
void swap(int *a, int *b) {
int temp = *a;
*a = *b;
*b = temp;
}
void sort(int *x, int *y) {
if (*x > *y) {
swap(x, y);
}
}
int main() {
int x = 10, y = 5;
sort(&x, &y);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgoKdm9pZCBzd2FwKGludCAqYSwgaW50ICpiKSB7CiAgICBpbnQgdGVtcCA9ICphOwogICAgKmEgPSAqYjsKICAgICpiID0gdGVtcDsKfQoKCnZvaWQgc29ydChpbnQgKngsIGludCAqeSkgewogICAgaWYgKCp4ID4gKnkpIHsKICAgICAgICBzd2FwKHgsIHkpOyAgCiAgICB9Cn0KCmludCBtYWluKCkgewogICAgaW50IHggPSAxMCwgeSA9IDU7CgogICAgCiAgICBzb3J0KCZ4LCAmeSk7CgogICAgCiAgICBwcmludGYoIiAlZCAlZFxuIiwgeCwgeSk7CgogICAgcmV0dXJuIDA7Cn0KCg==