fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. vector<pair<int, int> > x;
  5.  
  6. int main() {
  7. x.push_back(make_pair(1, 5));
  8. cout << x[0].first << " " << x[0].second << endl;
  9. }
Success #stdin #stdout 0s 3272KB
stdin
Standard input is empty
stdout
1 5