1#include <iostream>
2#include <unordered_set>
3using namespace std;
4
5int main()
6{
7 std::unordered_set<int> s = { 1, 2, 3, 4, 5 };
8 int key = 3;
9
10 if (s.find(key) != s.end()) {
11 std::cout << "Element is present in the set" << std::endl;
12 }
13 else {
14 std::cout << "Element not found" << std::endl;
15 }
16
17 return 0;
18}