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