fork download
  1. #include<string>
  2. #include<iostream>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. string name;
  8. cin >> name;
  9. string message("hello world");
  10. cout << name << message;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
hello world