fork(8) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #define loop(x, n) for(int x = 0; x < n; ++ x)
  5.  
  6. int main() {
  7. // your code goes here
  8.  
  9. loop(i, 10)
  10. {
  11. cout << i << endl;
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0
1
2
3
4
5
6
7
8
9