fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. for (int i=0; i<51; i=i+3)
  6. cout<<i<<endl;
  7. return 0;
  8. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
0
3
6
9
12
15
18
21
24
27
30
33
36
39
42
45
48