fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. for (int i = 0; i < 5; ++i){
  5. std::cout << i << "\n";
  6. }
  7. return 0;
  8. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
0
1
2
3
4