HDOJ1251(前缀匹配---分块查找&map应用)
摘要:
分块查找算法#include#include#include#includeusing namespace std;const int SIZE=1300000+16;const int BLOCKS=50000; //块的大小char word[SIZE][11];char pre[20];int... 阅读全文
posted @ 2015-08-04 17:00 vCoders 阅读(224) 评论(0) 推荐(0)