#include <stdio.h>
void sort(int *x, int *y);
void swap(int *x, int *y);
int main(void) {
int x, y;
x=2;
y=0;
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+Cgp2b2lkIHNvcnQoaW50ICp4LCBpbnQgKnkpOwp2b2lkIHN3YXAoaW50ICp4LCBpbnQgKnkpOwoKCmludCBtYWluKHZvaWQpIHsKCWludCB4LCB5OwoJCXg9MjsKCQl5PTA7CgkKCXNvcnQoJngsICZ5KTsKCQoJcHJpbnRmKCJ4OiVkIHk6JWQiLCB4LCB5KTsKCQoJcmV0dXJuIDA7Cn0Kdm9pZCBzb3J0KGludCAqeCwgaW50ICp5KXsKCQlpZigqeDwqeSl7CgkJCXN3YXAoeCx5KTsKCQl9Cn0KCnZvaWQgc3dhcChpbnQgKngsIGludCAqeSkKewoJaW50IHc7CgkKCXcgPSAqeDsKCSp4ID0gKnk7CgkqeSA9IHc7CgkKfQ==