fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. for ( int i = 0 ; i < 5 ; i ++ ) {
  5. for ( int j = 0 ; j <= i ; j ++ ){
  6. printf( "%d" , j ) ;
  7. }
  8. printf("\n");
  9. }
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
0
01
012
0123
01234