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