摘要: ![](https://img2022.cnblogs.com/blog/2540508/202205/2540508-20220508213710292-725195434.png) ![](https://img2022.cnblogs.com/blog/2540508/202205/2540508-20220508213731585-1313073737.png) ![](https://i 阅读全文
posted @ 2022-05-08 21:44 越菜越自信 阅读(25) 评论(0) 推荐(0)
摘要: /******************** 哈希表 开放定址法 ********************/ #define maxn (1<<17) #define mask (maxn-1) #define DataType int #define Boolean int #define NULL 阅读全文
posted @ 2022-05-08 00:20 越菜越自信 阅读(38) 评论(0) 推荐(0)
摘要: #define HashValueType long long const int MAXH = (1 << 20); bool hashkey[MAXH]; // 1) HashValueType hashval[MAXH]; int getKey(HashValueType val) { int 阅读全文
posted @ 2022-05-08 00:04 越菜越自信 阅读(30) 评论(0) 推荐(0)