fork download
  1. #include<map>
  2. #include<string>
  3. int main()
  4. {
  5. std::map<std::string,int> anim = { {"bear",4}, {"cassowary",2}, {"tiger",7} };
  6. return 0;
  7. }
Success #stdin #stdout 0s 2960KB
stdin
Standard input is empty
stdout

Standard output is empty