Title

随笔分类 -  一些技巧

摘要:区间或 给定l,r, 求ll+1r1r 思路一 看l,r从最高位到最低位中第一个不同的位第i位,li肯定是0, ri肯定是1, (因为r<l), 比第\ 阅读全文
posted @ 2024-10-24 22:32 栗悟饭与龟功気波 阅读(9) 评论(0) 推荐(0) 编辑
摘要:安全的哈希 代码如下 struct custom_hash { static uint64_t splitmix64(uint64_t x) { x ^= x << 13; x ^= x >> 7; x ^= x << 17; return x; } size_t operator () (uint 阅读全文
posted @ 2024-10-06 15:28 栗悟饭与龟功気波 阅读(10) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示