#include <stdio.h>
void swap(int *x, int *y);
void sort(int *x, int *y);
int main(void) {
int x=1,y=4;
sort(&x,&y);
return 0;
}
void sort(int *x,int*y){
if(*x<*y){
swap(x,y);
}
}
void swap(int *x,int*y){
int w;
w=*x;
*x=*y;
*y=w;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHN3YXAoaW50ICp4LCBpbnQgKnkpOwp2b2lkIHNvcnQoaW50ICp4LCBpbnQgKnkpOwoKCmludCBtYWluKHZvaWQpIHsKaW50IHg9MSx5PTQ7CnNvcnQoJngsJnkpOwpwcmludGYoIiVkLCVkXG4iLHgseSk7CglyZXR1cm4gMDsKfQoKdm9pZCBzb3J0KGludCAqeCxpbnQqeSl7CmlmKCp4PCp5KXsKc3dhcCh4LHkpOwp9Cn0KCgp2b2lkIHN3YXAoaW50ICp4LGludCp5KXsKaW50IHc7Cnc9Kng7Cip4PSp5OwoqeT13Owp9