摘要: 不是很懂? 胡乱hash 1 #include <set> 2 #include <map> 3 #include <cmath> 4 #include <queue> 5 #include <vector> 6 #include <cstdio> 7 #include <cstdlib> 8 #i 阅读全文
posted @ 2020-02-12 20:53 墨鳌 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 哈个希加挂个链表 一个要背的字符串hash函数ELFhash() mod数取数据最大容量的1.5倍最佳?! 1 #include <set> 2 #include <map> 3 #include <cmath> 4 #include <queue> 5 #include <vector> 6 #i 阅读全文
posted @ 2020-02-12 00:26 墨鳌 阅读(178) 评论(0) 推荐(0) 编辑