fork download
  1. #include <map>
  2. #include <string>
  3. #include <vector>
  4. using namespace std;
  5. int main()
  6. {
  7. multimap<int,
  8. multimap<string,
  9. multimap<string,
  10. multimap<string, double>>>> pathway;
  11.  
  12. multimap<string, double> m3;
  13. multimap<string, multimap<string, double>> m2;
  14. multimap<string, multimap<string, multimap<string, double>>> m1;
  15. m3.insert(make_pair("dlc", 4.23));
  16. m2.insert(make_pair("tr", m3));
  17. m1.insert(make_pair("cp", m2));
  18. pathway.insert(make_pair(1, m1));
  19.  
  20. }
Success #stdin #stdout 0s 2964KB
stdin
Standard input is empty
stdout
Standard output is empty