#pragma warning(disable : 4996)
#include<stdio.h>
int scanfall(int* x, int* y, int* z);
int ascend(int* x, int* y, int* z);
int swap(int* x, int* y);
int main(void) {
int x, y, z;
int (*pm)(int* x, int* y, int* z);
pm = scanfall;
pm = ascend;
scanfall(&x, &y, &z);
ascend(&x, &y, &z);
printf("a=%d,b=%d,c=%d\n", x
, y
, z
); }
int scanfall(int* x, int* y, int* z) {
}
int ascend(int* x, int* y, int* z) {
if (x > z)
swap(x, z);
if (x > y )
swap(x, y);
if (y>z)
swap(y, z);
}
int swap(int* x, int* y) {
int w=0;
*x = w;
*x = *y;
*y = w;
}
I3ByYWdtYSB3YXJuaW5nKGRpc2FibGUgOiA0OTk2KQojaW5jbHVkZTxzdGRpby5oPgppbnQgc2NhbmZhbGwoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBhc2NlbmQoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBzd2FwKGludCogeCwgaW50KiB5KTsKaW50IG1haW4odm9pZCkgewoJaW50IHgsIHksIHo7CglpbnQgKCpwbSkoaW50KiB4LCBpbnQqIHksIGludCogeik7CglwbSA9IHNjYW5mYWxsOwoJcG0gPSBhc2NlbmQ7CglzY2FuZmFsbCgmeCwgJnksICZ6KTsKCWFzY2VuZCgmeCwgJnksICZ6KTsKCXByaW50ZigiYT0lZCxiPSVkLGM9JWRcbiIsIHgsIHksIHopOwp9CmludCBzY2FuZmFsbChpbnQqIHgsIGludCogeSwgaW50KiB6KSB7CglzY2FuZigiJWQiLCB4KTsKCXNjYW5mKCIlZCIsIHkpOwoJc2NhbmYoIiVkIiwgeik7Cn0KaW50IGFzY2VuZChpbnQqIHgsIGludCogeSwgaW50KiB6KSB7CglpZiAoeCA+IHopCgkJc3dhcCh4LCB6KTsKCWlmICh4ID4geSApCgkJc3dhcCh4LCB5KTsKCWlmICh5PnopCglzd2FwKHksIHopOwp9CmludCBzd2FwKGludCogeCwgaW50KiB5KSB7CglpbnQgdz0wOwoJKnggPSB3OwoJKnggPSAqeTsKCSp5ID0gdzsKfQ==