fork download
  1. #include <iostream>
  2. #include <vector>
  3. #include <utility>
  4. #include <string>
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. using Pair_str = pair<string, string>;
  10.  
  11. vector<Pair_str> v1 = {
  12. {"Hello ", "world!"},
  13. {"Bye ", "world!" }
  14. };
  15.  
  16. using Vec_str = vector<string>;
  17. vector<Vec_str> v2 = {
  18. {"1", "2", "3"},
  19. {"q", "w", "e", "r", "t", "y"}
  20. };
  21. }
Success #stdin #stdout 0s 4532KB
stdin
Standard input is empty
stdout
Standard output is empty