2013年4月7日
摘要: 题目链接。分析;主要是学着用一下bsearch。#include <stdio.h>#include <stdlib.h>#include <string.h>struct Entry{ char english[15], foreign[15];}entrys[100010];int cmp(const void *a, const void *b){ return strcmp((*(struct Entry *)a).foreign, (*(struct Entry *)b).foreign);}int b_cmp(const void *a, con 阅读全文
posted @ 2013-04-07 12:09 Still_Raining 阅读(187) 评论(0) 推荐(0)