摘要:
1 #include <cstdio> 2 #include <algorithm> 3 using namespace std; 4 #define lson l,m,rt+1 5 #define rson m+1,r,rt+1 6 #define maxn 100005 7 struct{ 8 char s[10]; 9 int l,r,num; 10 }mes[maxn<<2]; 11 struct node{ 12 int num,val; 13 }setree[18][maxn]; 14 int sorted[maxn]; 15 void ... 阅读全文