fork download
  1. #include <iostream>
  2. #include<cstring>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. string s[10];
  8.  
  9. string a;
  10. for(int i=0;i<5;i++)
  11. {
  12. cin>>s[i];
  13. cout<<s[i]<<endl;
  14. }
  15. return 0;
  16. }
Success #stdin #stdout 0s 3432KB
stdin
hello how are you
stdout
hello
how
are
you