摘要: http://poj.org/problem?id=2503一道二分查找题#include <stdio.h>#include <string.h>#include <stdlib.h>#include <iostream>using namespace std;struct node{ char a[20]; char b[20];}str[100005];int cmp(const void *x,const void *y){ node *p1 = (node *)x,*p2 = (node *)y; return strcmp(p1-&g 阅读全文
posted @ 2011-07-10 19:13 zhangteng 阅读(230) 评论(0) 推荐(1) 编辑