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