fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x;
  6. for(x=0; x<5-3; x++){
  7. printf("%d", x);
  8. }
  9.  
  10. printf("\n");
  11.  
  12. for(x=0; x<5; x++){
  13. printf("%d", x);
  14. }
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 4536KB
stdin
Standard input is empty
stdout
01
01234