hash
文章平均质量分 70
Yuer-
pku.
展开
-
hashtable (vector&链式前向星)
vector:#include #include #include #include using namespace std; /*int abs(int x){ return x>0?x:-x; }*/ int abs(int x) { return x%0x7fffffff; } const int Mod=1000003; struct HashTable{ vect原创 2014-04-19 21:45:07 · 584 阅读 · 0 评论 -
字符hash + hash_table
自己编的题- - 没有数据...测了几个 都过了。。 输入n 有n个原创 2014-04-20 07:52:44 · 491 阅读 · 0 评论