fork(1) download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. for (int i = 0; i < 10; i++) {
  7. string nome;
  8. cin >> nome;
  9. cout << nome << endl;
  10. }
  11. }
  12.  
  13. //https://pt.stackoverflow.com/q/321702/101
Success #stdin #stdout 0s 4388KB
stdin
abc
def
ghi
jkl
mno
pqr
stu
vxy
wz1
aaa
stdout
abc
def
ghi
jkl
mno
pqr
stu
vxy
wz1
aaa