#include #include #include #include using namespace std; int n,i; char s[50]; map sc; map::iterator it; int qsort(int l,int r){ int i,j; char m,t; i=l; j=r; m=s[(l+r)/2]; do{ while(s[i]m) j--; if (i<=j) { t=s[i]; s[i]=s[j]; s[j]=t; i++; j--; } }while (i<=j); if (l