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