#include
using namespace std;
// write your code here......
void lhy(int * p1,int * p2)
{
int temp =*p1;
*p1=*p2;
*p2=temp;
}
int main() {
int m, n;
展开全文
#include
using namespace std;
// write your code here
void swap(int *a,int *b)//形参定义为指向a,b的指针
{
//定义一个参数来交换a,b所指向的数值
int t=*a;
*a=*b;
*b=t;
}
int ma
展开全文