fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. for (int i=1; i<51; i=i+2)
  6. cout<<i<<endl;
  7. return 0;
  8. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49