Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
167071 qiuyanshen 双关键字排序 C++ 编译错误 0 0 MS 0 KB 254 2024-08-19 15:59:51

Tests(0/0):


#include<bits/stdc++.h> using namespace std; struct a{ int x,y; }k[100001]; bool cmp(a.m,a.n){ if(m.x<n.x) return false; if(m.x==n.x){ if(m.y<n.y)return false; return true; } return true; } sort(a+1,a+10,cmp);


测评信息: