#include <stdio.h>

// swap関数の定義
void swap(int *a, int *b) {
    int temp = *a;
    *a = *b;
    *b = temp;
}

// sort関数の定義
void sort(int *x, int *y) {
    if (*x < *y) {
        swap(x, y);
    }
}

int main(void) {
    int x = 3, y = 2;

    sort(&x, &y);
    printf("sort結果: x = %d, y = %d\n", x, y);

    return 0;
}
