#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);
if (*x > *y && *y < *z)
swap(x, y);
if (*x<*y && *y>*z);
swap(y, z);
}
int swap(int* x, int* y) {
int w;
*x = w;
*x = *y;
*y = w;
}
I3ByYWdtYSB3YXJuaW5nKGRpc2FibGUgOiA0OTk2KQojaW5jbHVkZTxzdGRpby5oPgppbnQgc2NhbmZhbGwoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBhc2NlbmQoaW50KiB4LCBpbnQqIHksIGludCogeik7CmludCBzd2FwKGludCogeCwgaW50KiB5KTsKaW50IG1haW4odm9pZCkgewoJaW50IHgsIHksIHo7CglpbnQgKCpwbSkoaW50KiB4LCBpbnQqIHksaW50KiB6KTsKCXBtID0gc2NhbmZhbGw7CglwbSA9IGFzY2VuZDsKCXNjYW5mYWxsKCZ4LCAmeSwgJnopOwogICAgcHJpbnRmKCJhPSVkLGI9JWQsYz0lZFxuIix4LHkseik7CglyZXR1cm4gMDsKfQppbnQgc2NhbmZhbGwoaW50KiB4LCBpbnQqIHksIGludCogeikgewoJc2NhbmYoIiVkIiwgeCk7CglzY2FuZigiJWQiLCB5KTsKCXNjYW5mKCIlZCIsIHopOwp9CmludCBhc2NlbmQoaW50KiB4LCBpbnQqIHksIGludCogeikgewoJaWYgKCp4ID4gKnkgJiYgKnkgPiAqeikKCQlzd2FwKHgsIHopOwoJaWYgKCp4ID4gKnkgJiYgKnkgPCAqeikKCQlzd2FwKHgsIHkpOwoJaWYgKCp4PCp5ICYmICp5Pip6KTsKCQlzd2FwKHksIHopOwp9CmludCBzd2FwKGludCogeCwgaW50KiB5KSB7CglpbnQgdzsKCSp4ID0gdzsKCSp4ID0gKnk7CgkqeSA9IHc7Cn0=