#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);
printf("a=%d,b=%d,c=%d\n",x
,y
,z
); return 0;
}
int scanfall(int* x, int* y, int* z) {
}
int ascend(int* x, int* y, int* z) {
if (*x > *y && *y > *z)
swap(x, z);
else if (*x > *y && *y < *z)
swap(x, y);
else (*x<*y && *y>*z);
swap(y, z);
}
int swap(int* x, int* y) {
int w;
*x = w;
*x = *y;
*y = w;
}
I3ByYWdtYSB3YXJuaW5nKGRpc2FibGUgOiA0OTk2KQojaW5jbHVkZTxzdGRpby5oPgppbnQgc2NhbmZhbGwoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBhc2NlbmQoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBzd2FwKGludCogeCwgaW50KiB5KTsKaW50IG1haW4odm9pZCkgewoJaW50IHgsIHksIHo7CglpbnQgKCpwbSkoaW50KiB4LCBpbnQqIHksaW50KiB6KTsKCXBtID0gc2NhbmZhbGw7CglwbSA9IGFzY2VuZDsKCXNjYW5mYWxsKCZ4LCAmeSwgJnopOwogICAgcHJpbnRmKCJhPSVkLGI9JWQsYz0lZFxuIix4LHkseik7CglyZXR1cm4gMDsKfQppbnQgc2NhbmZhbGwoaW50KiB4LCBpbnQqIHksIGludCogeikgewoJc2NhbmYoIiVkIiwgeCk7CglzY2FuZigiJWQiLCB5KTsKCXNjYW5mKCIlZCIsIHopOwp9CmludCBhc2NlbmQoaW50KiB4LCBpbnQqIHksIGludCogeikgewoJaWYgKCp4ID4gKnkgJiYgKnkgPiAqeikKCQlzd2FwKHgsIHopOwoJZWxzZSBpZiAoKnggPiAqeSAmJiAqeSA8ICp6KQoJCXN3YXAoeCwgeSk7CgllbHNlICgqeDwqeSAmJiAqeT4qeik7CgkJc3dhcCh5LCB6KTsKfQppbnQgc3dhcChpbnQqIHgsIGludCogeSkgewoJaW50IHc7CgkqeCA9IHc7CgkqeCA9ICp5OwoJKnkgPSB3Owp9