源码文件 模板.cpp #include using namespace std; template void maxMin (Type *A, int m, int n ) { Type Max=A[0]; Type Min=A[0]; for (i…