fork download
  1. #include <iostream>
  2. #include <vector>
  3. #include <string>
  4. #include <unordered_map>
  5.  
  6. using foreign_word = std::string;
  7. using foreign_words = std::vector<foreign_word>;
  8.  
  9. using language = std::string;
  10. using language_words_map = std::unordered_map<language, foreign_words>;
  11.  
  12. int main() {
  13. language_words_map lwm = {
  14. { "deutch", {"een", "twee", "drie"} },
  15. /* ... and so on */
  16. };
  17. return 0;
  18. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty