fork download
  1. #include <iostream>
  2. #include <map>
  3.  
  4. int main() {
  5. std::map<int, std::pair<int, int> > zahlenMap;
  6. zahlenMap[100] = std::make_pair(23, 24);
  7. std::cout << zahlenMap[100].first << std::endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
23