<img src="https://img-blog.csdn.net/20150419203043898?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvem91amlhaHVpMTIz/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />#include <iostream>
using namespace std;
int main()
{
void change(int, int);
int a, b;
cin >> a >> b;
if (a<b) change(a, b);
cout << "max=" << a << " min=" << b << endl;
return 0;
}
void change(int, int)
{
int r1=0, r2=0, temp;
temp = r1;
r1 = r2;
r2 = temp;
}