#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, y;
x=6;
y=5;
sort(&x, &y);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHN3YXAoaW50ICphLCBpbnQgKmIpIHsKICAgIGludCB0ZW1wID0gKmE7CiAgICAqYSA9ICpiOwogICAgKmIgPSB0ZW1wOwp9Cgp2b2lkIHNvcnQoaW50ICp4LCBpbnQgKnkpIHsKICAgIGlmICgqeCA8ICp5KSB7CiAgICAgICAgc3dhcCh4LCB5KTsKICAgIH0KfQoKaW50IG1haW4oKSB7CiAgICBpbnQgeCwgeTsKCXg9NjsKCXk9NTsKCiAgICBzb3J0KCZ4LCAmeSk7CgogICAgcHJpbnRmKCIlZCwlZFxuIiwgeCwgeSk7CgogICAgcmV0dXJuIDA7Cn0=