Skip to content

Instantly share code, notes, and snippets.

@mym0404
Created May 23, 2022 15:38
Show Gist options
  • Save mym0404/01fde90c5248250106b97d3137d2e57b to your computer and use it in GitHub Desktop.
Save mym0404/01fde90c5248250106b97d3137d2e57b to your computer and use it in GitHub Desktop.
#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