标准排序集合每个都有一个基于哈希表的替代实现。例如,你可以选择使用 std::unordered_map<char,int,std::hash<char>>,而不是使用 std::map<char,int>

最后修改: 2025年01月30日 星期四 14:58