#include <stdio.h>
void swap(int *x,int *y);
int main(void) {
int a=1;
int b=2;
swap(&a,&b);
return 0;
}
void swap(int *x,int *y){
int temp;
temp=*x;
*x=*y;
*y=temp;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgc3dhcChpbnQgKngsaW50ICp5KTsKaW50IG1haW4odm9pZCkgewoJaW50IGE9MTsKCWludCBiPTI7Cglzd2FwKCZhLCZiKTsKCXByaW50ZigiJWQlZCIsYSxiKTsKCXJldHVybiAwOwp9CnZvaWQgc3dhcChpbnQgKngsaW50ICp5KXsKCWludCB0ZW1wOwoJdGVtcD0qeDsKCSp4PSp5OwoJKnk9dGVtcDsKfQo=