洛谷P1583 魔法照片【排序】

题目描述 https://www.luogu.org/problemnew/show/P1583

#include
#include
#include
#include
using namespace std;
struct node
{
	int w,nm;
}a[20005];
int n,k,e[15];
bool cmp(const node &a,const node &b)
{
	if(a.w!=b.w) return a.w>b.w;
    return a.nm

你可能感兴趣的:(洛谷P1583 魔法照片【排序】)