BTW,pb_ds 的哈希表常数比 unordered_map 小,但据说也是可以卡掉的 不太懂哈希,有大佬能卡卡吗
pb_ds
unordered_map
#include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/hash_policy.hpp> typedef __gnu_pbds::gp_hash_table<int,int> HASH;