#include<iostream>
using namespace std;
void max(int &x,int &y)
{int a;
 cout<<"udhcu"<<endl;
 int t;
 t=x;
 x=y;
 y=t;
 cin>>a;
 cout<<"dci"<<endl;
 system("cls");
}
int main()
{
 int a,b;
 cin>>a>>b;
 cout<<"a,b is "<<a<<" "<<b<<endl;
 system("cls");
 max(a,b);//不能用常量作为参数
 cout<<"a,b is "<<a<<" "<<b<<endl;
 return 0;
}
Logo

聚焦前沿AI与大模型技术探索,汇聚开发者及爱好者,共享开源项目、学习资源与行业资讯。

更多推荐