fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. for (int i = 0; i < 10; i++) {
  5. std::cout << "Hello, world!" << std::endl;
  6. }
  7. return 0;
  8. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!