#include<iostream> #include<fstream> #include<cstdio> #include<cmath> #include<string> #include<cstring> #include<string.h> #include<algorithm> #include <cstdlib> using namespace std; int m,n,skill; int a[100000][100000]; void swap(int *a,int *b){ int *t; t = a; a = b; b = t; } void transposition(int input[100000][100000]){ for(int i = 0;i < m;i++){ for(int j = 0;j < n;j++){ if(m > n){ if(i > j){ swap(a[i][j],a[j][i]); } }else{ if(j > i){ swap(a[i][j],a[j][i]); } } } } swap(m,n); } void printAll(int input[100000][100000]){ for(int i = 0;i < m;i++){ for(int j = 0;j < n;j++){ cout << a[i][j] << " "; } cout <
矩阵计算器P1.几个简单功能
最新推荐文章于 2024-08-10 17:06:25 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)