fork(1) download
  1. while((num = readline()) != 42) {
  2. print(num);
  3. }
Success #stdin #stdout 0.04s 18676KB
stdin
1
2
10
42
11
stdout
1
2
10