概述
#include <cstdio>
#include <cstring>
#include <cstdlib>
int len;
char word[50][10];
char sorted[50][10];
int cmp_char(const void *_a, const void *_b){
char *a = (char*)_a;
char *b = (char*)_b;
return *a - *b;
}
int cmp_str(const void *_a, const void *_b){
char *a = (char*)_a;
char *b = (char*)_b;
return strcmp(a, b);
}
int main(){
memset(word, '