fork download
  1. process.stdin.resume();
  2. process.stdin.setEncoding('utf8');
  3.  
  4. // your code goes here
  5.  
  6. for (let i = 0, n = 0; n = parseFloat(Math.random() * 0.1), i < 100; setTimeout(x => console.log(x), n, n), ++i);
  7.  
Success #stdin #stdout 0.12s 31100KB
stdin
Standard input is empty
stdout
0.09857131238119327
0.050473305416837325
0.04976388180804077
0.008921907843869014
0.059723222572477225
0.07626834198462946
0.08266783569941316
0.02776029355282619
0.016543695048545404
0.08377439969086804
0.051621619968287846
0.08532222115122212
0.0967200113416362
0.04592511154441919
0.08687350288898049
0.09764889074764366
0.029370436658117963
0.03849251340171365
0.09394893445119881
0.023896457873593846
0.05559548471475935
0.018553959321857973
0.07479622219270325
0.03564260813912075
0.04543577325159823
0.0369227742856781
0.04034033431987556
0.013591642721118215
0.07597897091963353
0.0746280594833499
0.008636431232052112
0.07679438966366953
0.023635957627541226
0.0308213135422178
0.054263741364463505
0.04694764938699958
0.0017255528117715803
0.08291530071276719
0.07911963444958103
0.0771488703303608
0.01102396670209811
0.07075130457131128
0.08277968387293214
0.08782571290601715
0.029735031901653365
0.04970893917019825
0.06291148132029559
0.09661333439981722
0.08171599465185693
0.07003053167976521
0.08576385869424837
0.00788228466727472
0.09701908538620847
0.02279500559665326
0.08095546888021701
0.05381391072016964
0.054581544570812573
0.05588800396796263
0.046926933762506166
0.09654177355037619
0.07490764566101278
0.023000687602589755
0.07218797402915227
0.07861133391426983
0.03685450334637801
0.04215731505480511
0.009125871682753074
0.005579822046095972
0.09735834646785685
0.047201733776187
0.06528389218411616
0.07617370315453749
0.01190661206634005
0.03713625951540261
0.029906191679958095
0.09997894829038907
0.04309090711926178
0.0961414164236879
0.04501552570410046
0.04359066427149754
0.03568714131332449
0.08097150199582588
0.04386912577369045
0.02088071572598338
0.09517504477100924
0.02748376842303899
0.08024552469613178
0.07184392401078309
0.03561852626242157
0.08886086655487112
0.0740874973255814
0.03779459535086563
0.0733119237657552
0.04354772676524841
0.023937493144753953
0.030751937863797197
0.09719651319065842
0.004743380900536654
0.08921880797111621
0.04814006818528136