fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string n, m;
  9. vector <string> dingdong;
  10.  
  11. getline(cin,n);
  12. dingdong.push_back(n);
  13. getline(cin,m);
  14. dingdong.push_back(m);
  15.  
  16. for (int i = 0; i <2; i ++) {
  17. cout << dingdong[i] << endl;
  18. }
  19.  
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 3280KB
stdin
hay sombody there
yes here
stdout
hay sombody there
yes here