做这题必须头脑清晰,先想好步骤再写,模拟题就变得很简单了View Code #include<cstdio>#include<cstring>#include<algorithm>using namespace std;struct player{ int num; char name[25]; char role; int year;}p[30],ans[20],G[20],S[20],D[20],M[20];int cmp(player a,player b){ if(a.num==b.num) return a.year<b.year; retu Read More
posted @ 2012-02-15 15:32 Because Of You Views(261) Comments(0) Diggs(0) Edit
RelocationTime Limit:1000MSMemory Limit:65536KTotal Submissions:823Accepted:326DescriptionEmma and Eric are moving to their new house they bought after returning from their honeymoon. Fortunately, they have a few friends helping them relocate. To move the furniture, they only have two compact cars, Read More
posted @ 2012-02-15 14:19 Because Of You Views(774) Comments(0) Diggs(0) Edit