标签:
#include<string.h> #include<algorithm> using namespace std; struct s { int d; char c[10]; }ss[15]; bool cmp(s a,s b) { if(strcmp(a.c,b.c)!=0) return strcmp(a.c,b.c)<0; else return a.d<b.d; }
标签:
原文地址:http://www.cnblogs.com/hrhguanli/p/4491795.html