fork(2) download
  1. #include <iostream>
  2. #include <unordered_map>
  3. using namespace std;
  4.  
  5. int main() {
  6. unordered_map<string, string> cats;
  7. cats.insert(std::make_pair("Adam", "Streak"));
  8. cats.emplace(std::make_pair("Kyra", "Shadow"));
  9.  
  10.  
  11. // your code goes here
  12. return 0;
  13. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty