fork(1) download
  1. #include <stdio.h>
  2. int main() {
  3. int a,i;
  4. scanf("%d",&a);
  5. for ( i = a ; i>=0 ; i-- ) {
  6. printf("test\n");
  7. }
  8. return 0;
  9.  
  10. }
  11.  
Success #stdin #stdout 0s 4240KB
stdin
2
stdout
test
test
test