文章
6
粉丝
133
获赞
7
访问
25.0k
#include<iostream>
#include<set>
#include<vector>
using namespace std;
class mycompare
{
public:
bool operator()(const int a, const int b)const
{
return a > b;
}
};
void create_vec(vector<vector<int>>& vec,int n)
{
vector<int>v;
for (int i = 0; i < n; i++)
{
for (int j = 0; j < n; j++)
{
int ele;
cin >> ele;
v.push_back(ele);
}
vec.push_back(v);
v.clear();
}
}
void calculate...
登录后发布评论
暂无评论,来抢沙发