fine tune

This commit is contained in:
krahets
2023-09-17 01:13:15 +08:00
parent b2246e11a7
commit 9f59c572b5
32 changed files with 44 additions and 44 deletions

View File

@ -200,7 +200,7 @@ template <typename T> void printDeque(deque<T> deque) {
}
/* Print a HashMap */
// 定义模板参数 TKey 和 TValue用于指定键值对的类型
// 定义模板参数 TKey 和 TValue ,用于指定键值对的类型
template <typename TKey, typename TValue> void printHashMap(unordered_map<TKey, TValue> map) {
for (auto kv : map) {
cout << kv.first << " -> " << kv.second << '\n';