#include using namespace std; const int num=10; template void Swap(T &rx,T &ry) { cout<<"调用Swap(T &rx,T &ry)函数\n"; T temp=rx; rx=ry; ry=temp; } template void Swap(T rx[],T ry[],int n) { cout<<"调用Swap(T rx[],T ry[],int n)函数\n"; T temp; for (int i=0;i void show(T rx[],T ry[],int n) { for (int i=0;i