1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <iostream> #include <functional> #include <string> #include <unordered_set> int main() { std::unordered_set<std::string> dictionary; std::string str = "Meet the new boss..."; dictionary.insert(str); auto it = dictionary.find(str); std::cout << *it << '\n'; } |
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnVuY3Rpb25hbD4KI2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPHVub3JkZXJlZF9zZXQ+CiAKaW50IG1haW4oKQp7CiAgICBzdGQ6OnVub3JkZXJlZF9zZXQ8c3RkOjpzdHJpbmc+IGRpY3Rpb25hcnk7CgogICAgc3RkOjpzdHJpbmcgc3RyID0gIk1lZXQgdGhlIG5ldyBib3NzLi4uIjsKICAgIGRpY3Rpb25hcnkuaW5zZXJ0KHN0cik7CiAgICBhdXRvIGl0ID0gZGljdGlvbmFyeS5maW5kKHN0cik7CiAKICAgIHN0ZDo6Y291dCA8PCAqaXQgPDwgJ1xuJzsKfQ==
-
upload with new input
-
result: Success time: 0s memory: 3020 kB returned value: 0
Meet the new boss...


