摘要: #include<stdio.h>#include<iostream>#include<cstdlib>#include<algorithm>using namespace std;struct st{ int a; int b;}f[1001];bool cmp(st p,st q){ if(p.a==q.a) { return p.b>q.b; // >升序 } else return p.a>q.a;}int main(){ int n,i; while(scanf("%d",&n)>0) 阅读全文
posted @ 2013-06-05 10:28 芷水 阅读(111) 评论(0) 推荐(0) 编辑