请不要使用unordered_map,可以用平板电视里的gp_hash_table
unordered_map
gp_hash_table
使用方法
#include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> __gnu_pbds::gp_hash_table<int,int>mp;