Created
May 23, 2022 15:38
-
-
Save mym0404/01fde90c5248250106b97d3137d2e57b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <set> | |
#include <map> | |
#include <unordered_set> | |
#include <unordered_map> | |
void solve() { | |
// 트리를 이용한 셋 | |
std::set<int> tree_set; | |
// 트리를 이용한 맵 | |
std::map<int, int> tree_map; | |
// 해시를 이용한 셋 | |
std::unordered_set<int> hash_set; | |
// 해시를 이용한 맵 | |
std::unordered_map<int, int> hashmap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment