QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37373#980. New Financial YearGuanYunchangAC ✓12ms3880kbC++14186b2022-07-01 12:18:122022-07-01 12:18:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3664kb

input:

2
100.00 10.50
50.00 -50.75

output:

 90.497738
101.522843

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3728kb

input:

34
547.12 126.55
314.53 838.84
892.32 677.78
934.23 147.14
725.46 562.02
237.24 611.73
677.63 20.42
956.40 736.47
714.79 -62.53
376.06 -77.87
904.24 -81.23
754.97 744.34
1.80 871.17
758.45 180.69
181.70 470.17
333.45 -17.89
670.14 331.33
879.85 354.44
238.38 754.50
592.49 722.91
487.56 372.42
93.78 ...

output:

241.500772
 33.501981
114.726529
378.016509
109.582792
 33.332865
562.722139
114.337633
1907.632773
1699.322187
4817.474694
 89.415401
  0.185343
270.209128
 31.867689
406.101571
155.365961
193.611918
 27.897016
 71.999368
103.204775
 19.985934
124.684809
 46.661514
  3.035684
288.394399
1197.067793...

result:

ok 34 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

15
945.51 588.38
90.09 -13.23
700.60 881.39
612.20 89.89
925.70 891.51
376.65 519.21
72.07 614.58
185.72 824.77
749.30 -43.80
305.22 901.46
596.79 118.12
485.82 687.47
770.24 366.90
698.24 480.78
871.03 929.69

output:

137.352916
103.826207
 71.388541
322.397177
 93.362649
 60.827506
 10.085645
 20.082831
1333.274021
 30.477503
273.606272
 61.693779
164.968944
120.224526
 84.591479

result:

ok 15 numbers

Test #4:

score: 0
Accepted
time: 1ms
memory: 3708kb

input:

90
110.16 774.49
408.96 843.05
602.72 762.54
635.75 846.85
90.06 381.13
951.58 749.24
167.10 754.24
75.83 533.30
93.70 193.59
398.44 526.55
728.80 673.32
531.04 223.08
507.79 43.41
243.99 87.88
989.57 20.87
917.91 141.56
866.82 984.36
151.22 -11.29
14.19 172.30
439.15 -47.44
354.22 841.09
437.23 189...

output:

 12.597057
 43.365675
 69.877339
 67.143687
 18.718434
112.050775
 19.561247
 11.973788
 31.915256
 63.592690
 94.243004
164.367958
354.082700
129.864807
818.706048
379.992548
 79.938397
170.465562
  5.211164
835.521309
 37.639333
151.144220
 48.449153
 18.127687
107.230301
 44.635725
 38.891358
 79...

result:

ok 90 numbers

Test #5:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

94
695.23 550.98
482.19 915.08
56.16 270.09
412.47 588.99
505.86 572.21
962.20 373.71
740.07 777.60
828.37 114.42
471.62 191.80
322.23 883.80
302.00 -10.04
523.66 716.23
709.33 713.68
642.55 964.76
894.46 674.74
112.21 -64.02
408.47 398.08
954.90 871.81
338.89 712.45
261.48 590.53
231.13 897.30
666....

output:

106.797444
 47.502660
 15.174687
 59.865891
 75.253269
203.120052
 84.328851
386.330566
161.624400
 32.753608
335.704758
 64.155936
 87.175548
 60.346933
115.452926
311.867704
 82.008914
 98.259948
 41.712105
 37.866566
 23.175574
425.066956
212.812482
 62.761885
126.983006
510.609883
116.009761
394...

result:

ok 94 numbers

Test #6:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

10
163.47 542.77
604.45 664.49
575.03 0.77
363.87 491.64
926.07 167.15
241.81 185.04
631.33 149.16
595.98 594.67
297.62 290.01
449.23 -40.41

output:

 25.432114
 79.065782
570.636102
 61.501927
346.647951
 84.833708
253.383368
 85.793254
 76.310864
753.868099

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 2ms
memory: 3728kb

input:

89
69.66 746.78
620.04 751.71
895.49 847.70
233.58 473.06
45.69 690.93
104.46 172.13
370.14 68.76
605.08 408.17
151.38 454.97
727.28 -39.43
736.46 349.01
174.73 27.58
356.18 898.83
725.71 -21.34
534.27 502.22
153.77 947.25
592.07 929.48
872.79 199.15
558.25 190.58
579.38 127.05
490.49 141.18
264.45 ...

output:

  8.226458
 72.799427
 94.490873
 40.760130
  5.776744
 38.386065
219.329225
119.070390
 27.277150
1200.726432
164.018619
136.957203
 35.659722
922.590898
 88.716748
 14.683218
 57.511559
291.756644
192.115768
255.177274
203.370926
 30.402492
1219.004990
101.310092
125.832402
 71.839677
 17.713257
 ...

result:

ok 89 numbers

Test #8:

score: 0
Accepted
time: 2ms
memory: 3780kb

input:

75
180.29 692.28
683.58 190.14
194.15 64.04
683.99 334.07
271.48 796.49
682.88 131.18
332.66 241.56
303.72 328.51
814.85 812.70
169.57 841.06
572.42 60.04
82.79 941.89
272.33 142.31
128.30 563.32
933.11 130.27
330.38 -39.03
536.47 85.37
483.95 371.49
513.11 868.95
208.14 312.34
177.90 28.67
569.87 6...

output:

 22.755844
235.603502
118.355279
157.575967
 30.282546
295.388874
 97.394308
 70.878159
 89.279062
 18.019042
357.673082
  7.946136
112.389088
 19.342097
405.224302
541.873052
289.404974
102.642686
 52.955261
 50.477761
138.260667
 73.228306
119.580160
113.841204
157.195496
182.084985
 16.736214
181...

result:

ok 75 numbers

Test #9:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

39
183.51 189.59
403.72 563.72
491.52 693.09
489.32 357.07
533.78 328.39
531.93 384.50
795.73 -84.51
749.62 878.92
424.86 335.27
448.64 64.76
241.05 754.41
788.39 471.30
86.73 750.78
344.37 842.20
480.66 5.35
646.45 227.79
768.59 347.44
993.17 15.54
519.28 473.07
80.50 260.95
181.18 238.93
692.70 89...

output:

 63.368901
 60.826855
 61.975312
107.055812
124.601415
109.789474
5137.056165
 76.576227
 97.608381
272.299102
 28.212451
137.999300
 10.194175
 36.549565
456.250593
197.214680
171.774987
859.589752
 90.613712
 22.302258
 53.456466
 69.549589
488.114441
 53.355690
102.558711
 27.796029
243.085603
48...

result:

ok 39 numbers

Test #10:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

28
190.64 960.75
431.23 364.07
38.63 439.67
633.22 590.25
922.30 744.89
879.69 228.01
659.76 16.08
994.05 928.24
403.21 169.31
410.59 20.54
386.08 -58.15
782.96 890.63
308.06 989.76
843.03 613.90
126.14 676.95
595.48 646.60
613.19 216.78
608.94 593.27
840.45 908.74
116.53 205.45
677.68 372.50
515.55...

output:

 17.972189
 92.923481
  7.158078
 91.737776
109.162139
268.189994
568.366644
 96.674901
149.719654
340.625519
922.532855
 79.036573
 28.268610
118.087968
 16.235279
 79.758907
193.569670
 87.835908
 83.316811
 38.150270
143.424339
189.603178
 14.051119
 64.687439
 55.490000
293.945223
104.972359
308...

result:

ok 28 numbers

Test #11:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

19
315.79 -27.17
150.06 278.14
136.66 57.06
806.31 867.17
502.43 112.54
803.44 340.71
488.37 572.16
913.73 490.81
548.54 -37.34
704.02 -19.62
956.57 708.85
392.01 908.25
679.11 549.68
235.33 939.74
798.57 915.06
600.06 919.45
229.91 539.45
217.21 703.26
345.03 166.14

output:

433.598792
 39.683715
 87.011333
 83.367970
236.393150
182.305825
 72.656808
154.657166
875.422917
875.864643
118.262966
 38.880238
104.529922
 22.633543
 78.672197
 58.861151
 35.954336
 27.041058
129.642294

result:

ok 19 numbers

Test #12:

score: 0
Accepted
time: 2ms
memory: 3608kb

input:

16
447.49 488.63
381.04 262.29
310.47 893.14
126.07 311.22
315.54 177.28
193.18 -37.34
464.28 186.95
341.19 722.76
853.86 972.14
552.55 880.53
746.60 413.64
225.14 637.94
402.37 339.03
83.13 387.01
370.88 875.99
565.94 217.84

output:

 76.022289
105.175412
 31.261454
 30.657556
113.798327
308.298755
161.798223
 41.468958
 79.640719
 56.352177
145.354723
 30.509255
 91.649773
 17.069465
 38.000389
178.058142

result:

ok 16 numbers

Test #13:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

66
826.84 882.72
989.15 964.89
764.34 151.38
295.23 608.28
490.40 -17.47
202.84 194.10
148.11 229.98
771.72 780.87
247.87 976.90
735.93 703.77
165.77 72.41
884.09 56.55
778.34 783.02
535.60 383.35
383.40 936.77
548.37 497.40
168.87 33.54
238.00 212.97
206.36 418.14
382.91 387.44
431.23 746.80
347.43...

output:

 84.137903
 92.887528
304.057602
 41.682668
594.208167
 68.969738
 44.884538
 87.608841
 23.016993
 91.559775
 96.148715
564.733312
 88.145229
110.809972
 36.980237
 91.792769
126.456492
 76.045627
 39.827074
 78.555309
 50.924658
108.565090
234.166004
6213.517060
 29.896512
 63.148700
 89.340703
 5...

result:

ok 66 numbers

Test #14:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

33
503.65 897.91
856.46 -2.16
971.15 136.35
876.34 -83.06
37.22 966.62
942.86 143.65
674.22 211.43
588.36 164.69
77.15 -68.34
246.65 -48.60
541.76 88.59
621.78 232.37
506.57 294.29
278.65 973.78
722.02 397.67
243.54 198.04
754.73 925.35
906.68 956.09
596.02 807.21
857.52 112.51
230.58 526.27
865.02 ...

output:

 50.470483
875.367948
410.894859
5173.199528
  3.489528
386.973117
216.491667
222.282670
243.682881
479.863813
287.268678
187.074646
128.476502
 25.950381
145.080073
 81.713864
 73.607061
 85.852532
 65.698129
403.519834
 36.817986
146.703073
960.239673
173.060219
 14.766200
 47.746619
 23.333426
22...

result:

ok 33 numbers

Test #15:

score: 0
Accepted
time: 2ms
memory: 3612kb

input:

8
403.87 470.93
589.57 365.04
443.23 964.93
80.16 32.84
102.27 633.93
256.83 319.98
798.16 409.04
69.43 794.08

output:

 70.738970
126.778342
 41.620576
 60.343270
 13.934571
 61.152912
156.797108
  7.765524

result:

ok 8 numbers

Test #16:

score: 0
Accepted
time: 2ms
memory: 3668kb

input:

55
219.05 220.84
572.81 799.21
196.92 0.87
391.97 362.08
57.88 704.96
927.39 428.31
664.37 199.56
751.57 532.42
727.48 969.16
804.02 725.59
610.87 243.67
825.70 861.63
452.37 129.82
597.58 938.09
977.94 487.29
32.70 583.13
498.79 844.44
877.64 934.45
690.11 361.75
955.01 618.54
11.15 356.16
489.09 6...

output:

 68.273906
 63.701471
195.221572
 84.827303
  7.190419
175.538983
221.781947
118.840328
 68.042201
 97.387323
177.749003
 85.864626
196.836655
 57.565336
166.517393
  4.786790
 52.813307
 84.841220
149.455333
132.909789
  2.444318
 64.640577
 40.686560
  3.224336
867.364382
167.629839
 22.661327
130...

result:

ok 55 numbers

Test #17:

score: 0
Accepted
time: 2ms
memory: 3712kb

input:

45
874.81 102.65
746.17 11.65
217.78 0.43
688.40 863.22
682.89 864.77
854.86 641.42
395.94 392.59
317.92 239.70
828.59 31.72
486.00 942.70
383.42 759.77
257.23 439.57
775.32 277.46
797.91 951.11
681.97 88.97
357.31 399.81
763.84 421.96
231.46 863.06
121.04 -89.17
448.45 869.02
678.81 955.59
257.49 2...

output:

431.685171
668.311688
216.847556
 71.468616
 70.782674
115.300370
 80.379220
 93.588460
629.054054
 46.609763
 44.595648
 47.673147
205.404546
 75.911180
360.887972
 71.489166
146.340716
 24.033809
1117.636196
 46.278715
 64.306217
 81.670261
 60.853666
 64.238788
 19.169127
235.605526
 24.825180
 9...

result:

ok 45 numbers

Test #18:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

16
760.04 576.97
602.68 249.48
211.75 377.90
640.40 107.89
711.84 919.64
159.32 374.09
353.75 65.13
569.33 -44.76
135.49 382.19
828.52 548.82
272.84 153.84
657.07 497.92
708.64 648.05
718.18 826.64
686.61 307.63
251.67 575.30

output:

112.270854
172.450498
 44.308433
308.047525
 69.812875
 33.605434
214.225156
1030.648081
 28.098882
127.696434
107.485030
109.892628
 94.731636
 77.503669
168.439516
 37.267881

result:

ok 16 numbers

Test #19:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

60
156.97 624.20
817.04 101.81
759.22 247.83
800.39 -52.54
506.55 -1.44
518.96 111.95
778.93 243.35
239.98 118.71
302.75 911.89
280.69 65.99
868.85 579.36
420.65 376.66
476.86 153.46
425.69 -92.76
275.27 923.82
836.76 -58.91
440.19 -72.21
563.44 656.25
163.67 423.17
729.36 181.07
53.64 254.90
811.36...

output:

 21.674952
404.856053
218.273294
1686.451749
513.950893
244.850201
226.861803
109.725207
 29.919260
169.100548
127.892428
 88.249486
188.140140
5879.696133
 26.886562
2036.407885
1583.987046
 74.504463
 31.284286
259.494076
 15.114117
127.976782
162.350864
 31.498359
 13.166289
 76.318208
100.255593...

result:

ok 60 numbers

Test #20:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

52
780.83 405.62
850.69 818.50
134.32 415.34
421.19 159.98
503.60 788.84
958.57 495.44
305.90 -94.51
367.29 155.05
435.28 528.60
368.73 177.40
982.31 833.62
686.97 973.85
634.82 -29.73
85.05 877.28
214.63 -39.82
750.84 708.39
34.29 343.60
414.92 576.95
708.27 795.79
86.85 589.26
430.32 509.97
898.78...

output:

154.430205
 92.617311
 26.064346
162.008616
 56.658116
160.985154
5571.948998
144.007057
 69.245943
132.923576
105.215184
 63.972622
903.401167
  8.702726
356.646726
 92.880911
  7.729937
 61.292562
 79.066522
 12.600470
 70.547732
 93.371009
 97.186229
 87.668430
 94.708592
 80.323913
 30.295096
 7...

result:

ok 52 numbers

Test #21:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

87
757.84 551.35
160.89 615.79
463.40 -71.50
114.81 773.98
749.32 134.07
195.29 178.96
434.23 418.97
117.60 497.59
89.16 522.85
586.22 594.41
29.67 152.28
708.28 111.72
893.01 573.57
478.42 787.29
170.88 611.39
577.60 653.62
735.59 529.70
692.66 931.36
171.91 958.46
148.91 611.77
723.82 692.60
798.4...

output:

116.349121
 22.477263
1625.964912
 13.136456
320.126458
 70.006453
 83.671503
 19.679044
 14.314843
 84.419867
 11.760742
334.536180
132.578648
 53.919237
 24.020579
 76.643401
116.815944
 67.159867
 16.241521
 20.921084
 91.322231
107.358853
 59.345980
 23.663780
 37.719256
 43.676074
 34.069293
  ...

result:

ok 87 numbers

Test #22:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

8
694.25 816.09
634.00 459.27
803.69 574.46
318.22 993.31
818.34 605.67
67.50 558.12
683.76 883.36
977.09 271.87

output:

 75.784039
113.362061
119.160514
 29.106109
115.966387
 10.256488
 69.533030
262.750424

result:

ok 8 numbers

Test #23:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

44
994.96 40.79
391.88 382.73
490.63 167.80
653.84 121.65
290.52 871.47
369.46 956.22
711.39 600.72
262.34 250.40
521.35 -54.23
310.39 957.11
232.33 590.63
975.65 29.29
980.88 176.76
67.75 143.40
429.55 186.62
453.54 801.55
507.87 760.48
541.53 969.40
666.73 518.31
773.57 351.40
997.08 845.24
264.92...

output:

706.697919
 81.179956
183.207618
294.987593
 29.905195
 34.979455
101.522719
 74.868721
1139.064890
 29.362129
 33.640299
754.621394
354.415378
 27.834840
149.867420
 50.306694
 59.021709
 50.638676
107.831023
171.371289
105.484321
449.932065
  5.229966
 77.059362
171.112635
 44.205580
137.897311
38...

result:

ok 44 numbers

Test #24:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

44
253.04 809.23
978.60 28.27
980.13 86.71
587.17 350.08
917.46 218.73
235.51 -48.83
553.96 -8.97
90.92 131.07
758.20 686.62
229.28 769.37
363.21 130.93
449.94 184.24
716.57 629.05
702.71 698.87
784.62 575.52
851.45 20.65
861.25 680.67
738.03 973.58
455.15 530.33
542.45 437.54
191.01 609.60
893.92 1...

output:

 27.830142
762.921961
524.947780
130.459030
287.848649
460.250147
608.546633
 39.347384
 96.387074
 26.373121
157.281427
158.295806
 98.288183
 87.962998
116.150521
705.719022
110.321903
 68.744761
 72.208208
100.913420
 26.917982
304.894437
 64.509207
 81.464431
 70.698565
 69.010283
258.044626
 10...

result:

ok 44 numbers

Test #25:

score: 0
Accepted
time: 1ms
memory: 3768kb

input:

47
143.20 385.69
598.66 763.97
83.30 665.14
163.59 204.23
256.21 940.93
349.92 141.62
644.22 -1.83
109.99 784.33
110.69 169.42
556.40 99.75
698.47 817.56
457.12 874.78
864.82 998.39
169.49 156.77
496.76 -53.64
560.12 424.24
137.05 240.84
329.33 939.85
676.11 916.41
22.97 187.56
933.24 809.95
93.50 4...

output:

 29.483827
 69.291758
 10.886897
 53.771817
 24.613567
144.822448
656.228991
 12.437665
 41.084552
278.548185
 76.122542
 46.894684
 78.735240
 66.008490
1071.527179
106.844193
 40.209482
 31.670914
 66.519416
  7.987898
102.559481
 15.703201
641.030137
180.561813
3333.982890
106.637233
125.796676
 ...

result:

ok 47 numbers

Test #26:

score: 0
Accepted
time: 3ms
memory: 3764kb

input:

4
905.67 656.23
66.20 506.91
399.91 663.84
517.01 134.16

output:

119.761184
 10.907713
 52.355205
220.793475

result:

ok 4 numbers

Test #27:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

26
254.94 853.04
15.32 493.91
465.56 313.83
798.70 145.27
651.87 493.74
497.01 300.98
287.25 243.68
417.23 -55.05
434.55 218.97
924.06 561.99
624.52 636.14
893.47 177.41
661.77 329.82
845.11 607.12
765.51 603.13
159.84 338.68
757.14 292.89
813.53 74.92
467.29 188.48
412.81 505.07
120.62 98.20
345.95...

output:

 26.750189
  2.579515
112.500302
325.641130
109.790481
123.948825
 83.580656
928.209121
136.235383
139.588211
 84.837123
322.075628
153.964450
119.514368
108.871759
 36.436582
192.710428
465.086897
161.983500
 68.225164
 60.857719
128.749535
197.947313
  0.480846
125.481638
 57.465822

result:

ok 26 numbers

Test #28:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

9
486.14 85.57
292.60 837.32
420.10 788.68
612.18 834.79
205.06 925.18
711.70 960.76
788.60 798.68
545.81 101.42
491.75 302.32

output:

261.971224
 31.216660
 47.272359
 65.488505
 20.002341
 67.093405
 87.750924
270.981035
122.228574

result:

ok 9 numbers

Test #29:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

61
682.73 885.66
36.62 471.74
925.51 680.18
854.29 -51.16
763.61 804.12
864.60 733.12
829.59 282.60
563.96 -40.80
467.76 787.10
898.04 67.86
375.03 598.04
572.56 801.97
687.38 891.33
320.24 796.77
162.92 644.78
238.82 348.34
947.86 399.01
502.38 144.84
225.06 115.97
429.92 290.99
265.70 135.63
31.85...

output:

 69.266278
  6.405009
118.627753
1749.160524
 84.458921
103.778567
216.829587
952.635135
 52.729117
534.993447
 53.726147
 63.478830
 69.339171
 35.710383
 21.874916
 53.267609
189.948097
205.187061
104.208918
109.956776
112.761533
 13.578036
 39.358298
218.063140
171.780565
 64.251722
104.369188
 8...

result:

ok 61 numbers

Test #30:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

14
788.85 647.89
163.49 91.30
890.64 244.56
595.68 574.34
153.98 56.24
914.71 703.37
559.46 942.88
108.72 48.63
187.13 -47.10
213.75 -85.52
474.61 232.27
360.41 422.12
755.47 391.25
80.36 -55.97

output:

105.476741
 85.462624
258.486185
 88.335261
 98.553507
113.859118
 53.645674
 73.148086
353.742911
1476.174033
142.838655
 69.028193
153.785242
182.511924

result:

ok 14 numbers

Test #31:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

93
903.40 80.23
424.21 -88.51
539.82 89.71
228.43 671.01
274.82 715.61
516.03 653.71
14.45 992.46
719.69 166.84
420.89 335.37
851.10 710.11
719.12 607.50
17.54 624.14
73.03 121.29
534.58 564.21
215.27 809.22
516.08 251.82
526.98 245.52
520.74 741.56
589.60 827.18
550.14 622.77
715.81 733.55
984.88 -...

output:

501.248405
3691.993037
284.550103
 29.627372
 33.695026
 68.465325
  1.322703
269.708440
 96.674093
105.059807
101.642403
  2.422184
 33.001943
 80.483582
 23.676338
146.688648
152.517944
 61.877941
 63.590673
 76.115500
 85.874873
14765.817091
 12.734519
314.367816
 37.208725
 45.774763
  2.387442
...

result:

ok 93 numbers

Test #32:

score: 0
Accepted
time: 2ms
memory: 3816kb

input:

10
497.15 78.41
90.20 33.73
498.95 842.91
700.56 572.32
465.26 32.44
421.88 468.27
311.19 688.25
429.84 172.71
7.48 -17.48
244.22 98.20

output:

278.655905
 67.449338
 52.915973
104.200381
351.298701
 74.239358
 39.478592
157.617982
  9.064469
123.218971

result:

ok 10 numbers

Test #33:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

14
160.29 584.65
636.32 447.93
494.82 929.45
504.46 168.65
64.09 115.74
953.64 -39.05
930.03 438.72
540.88 397.83
8.93 -43.10
324.97 719.40
265.01 80.85
975.01 817.25
700.85 -11.45
675.01 325.38

output:

 23.411962
116.131623
 48.066443
187.775917
 29.707055
1564.626743
172.636991
108.647530
 15.694200
 39.659507
146.535803
106.297084
791.473744
158.684000

result:

ok 14 numbers

Test #34:

score: 0
Accepted
time: 2ms
memory: 3816kb

input:

23
650.55 804.04
54.04 684.19
927.29 283.92
292.91 815.50
395.35 871.06
710.73 822.51
349.06 213.88
978.45 197.80
766.46 275.81
730.31 18.73
436.90 709.70
528.25 482.10
428.19 679.61
978.77 998.62
342.11 606.01
233.15 905.50
458.37 202.19
790.68 -7.97
106.43 222.92
615.34 36.92
820.57 301.58
104.38 ...

output:

 71.960311
  6.891187
241.532090
 31.994539
 40.713241
 77.043067
111.208105
328.559436
203.948804
615.101491
 53.958256
 90.749012
 54.923616
 89.090859
 48.456821
 23.187469
151.682716
859.154623
 32.958628
449.415717
204.335375
 20.240450
 23.875612

result:

ok 23 numbers

Test #35:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

12
86.92 625.14
182.35 331.41
656.55 776.10
308.50 66.94
927.67 957.34
111.45 519.21
950.38 368.47
339.33 679.76
652.51 825.01
986.14 846.88
950.55 542.37
536.63 244.79

output:

 11.986651
 42.268376
 74.940075
184.796933
 87.736206
 17.998740
202.868914
 43.517236
 70.540859
104.146249
147.975466
155.639665

result:

ok 12 numbers

Test #36:

score: 0
Accepted
time: 2ms
memory: 3748kb

input:

40
318.34 679.15
772.05 240.74
144.17 108.17
853.14 717.00
497.81 211.83
823.76 535.91
434.17 275.08
54.43 821.09
223.87 858.70
275.26 232.99
451.05 990.19
903.21 971.27
482.79 288.03
865.23 752.16
34.91 289.68
738.45 236.22
641.35 184.56
560.85 406.17
584.63 148.67
163.44 56.16
232.21 816.12
495.65...

output:

 40.857345
226.580384
 69.255897
104.423501
159.641471
129.540344
115.753972
  5.909303
 23.351413
 82.663143
 41.373522
 84.312078
124.420792
101.533750
  8.958633
219.632978
225.383048
110.802695
235.102747
104.661885
 25.347116
102.767987
182.470521
 49.261961
 29.258216
657.271859
 69.950128
 20...

result:

ok 40 numbers

Test #37:

score: 0
Accepted
time: 2ms
memory: 3612kb

input:

28
227.59 921.73
572.16 -94.87
455.55 75.66
966.85 388.80
933.89 508.70
621.52 818.79
733.16 152.17
565.38 165.17
211.85 690.59
865.01 926.94
686.24 646.29
962.21 103.62
340.06 85.84
84.56 863.18
771.97 849.09
645.20 147.42
19.82 458.83
110.65 792.29
2.11 34.25
869.21 -84.48
509.79 167.87
711.27 510...

output:

 22.274965
11153.216374
259.336218
197.800736
153.423690
 67.645490
290.740374
213.214164
 26.796443
 84.231795
 91.953530
472.551812
182.985364
  8.779252
 81.337913
260.771158
  3.546696
 12.400677
  1.571695
5600.579897
190.312465
116.595905
213.374664
 16.584158
 68.713447
181.509420
 18.313515
...

result:

ok 28 numbers

Test #38:

score: 0
Accepted
time: 2ms
memory: 3768kb

input:

87
737.37 128.81
983.08 93.82
556.34 -64.76
995.85 411.20
882.60 784.16
5.68 702.07
623.83 348.40
377.87 410.00
153.03 604.39
830.84 907.04
559.26 467.43
545.03 552.29
174.39 298.60
664.03 166.74
990.13 -49.05
204.36 752.99
754.85 170.85
248.29 -87.47
560.01 606.24
396.19 410.84
484.33 961.58
221.28...

output:

322.263013
507.212878
1578.717367
194.806338
 99.823561
  0.708168
139.123550
 74.092157
 21.725181
 82.503178
 98.560175
 83.556394
 43.750627
248.942791
1943.336605
 23.958077
278.696696
1981.564246
 79.294574
 77.556573
 45.623505
9416.170213
200.992447
 34.779950
 78.815965
 36.503452
 58.933427...

result:

ok 87 numbers

Test #39:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

17
828.22 142.39
780.52 -82.76
740.88 589.28
392.83 222.76
624.22 668.76
906.52 568.29
958.04 544.99
790.09 887.47
155.50 919.52
838.10 321.67
761.33 393.72
291.74 869.00
803.33 -50.72
342.09 437.63
433.01 205.09
760.26 505.46
766.10 569.91

output:

341.689014
4527.378190
107.486072
121.709629
 81.198293
135.647698
148.535636
 80.011545
 15.252276
198.757322
154.202787
 30.107327
1630.133929
 63.629262
141.928611
125.567337
114.358645

result:

ok 17 numbers

Test #40:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

29
378.35 77.02
629.32 840.91
206.47 358.65
678.15 667.86
463.88 160.77
707.50 471.18
140.56 42.72
609.01 465.24
141.47 40.20
412.01 384.48
179.36 554.28
413.12 251.69
192.79 712.59
776.06 356.06
705.75 831.61
753.38 309.81
674.76 902.09
892.58 617.09
387.45 164.58
808.28 255.68
875.02 968.44
455.41...

output:

213.732912
 66.884187
 45.016897
 88.316881
177.888561
123.866382
 98.486547
107.743613
100.905849
 85.041694
 27.413340
117.467087
 23.725372
170.166206
 75.755949
183.836412
 67.335269
124.472521
146.439640
227.249213
 81.896971
112.007182
 92.871247
 33.763034
236.075553
2240.237325
119.114762
 9...

result:

ok 29 numbers

Test #41:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

88
672.82 695.58
639.73 161.39
451.93 354.75
251.81 690.03
161.90 258.00
462.51 -63.00
702.68 943.69
994.15 246.70
320.03 277.46
141.86 618.14
364.23 422.15
773.90 -56.54
449.59 150.49
772.87 765.64
286.33 781.92
319.45 6.85
562.94 231.36
999.55 597.98
817.95 454.44
605.32 -58.40
431.57 380.12
379.6...

output:

 84.569748
244.741574
 99.379879
 31.873473
 45.223464
1250.027027
 67.326505
286.746467
 84.785143
 19.753808
 69.755817
1780.717902
179.484211
 89.283074
 32.466664
298.970519
169.887735
143.206109
147.527235
1455.096154
 89.887945
123.997387
402.173215
128.995456
741.433263
107.093304
 34.902533
...

result:

ok 88 numbers

Test #42:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

97
910.30 403.77
840.64 443.52
944.67 438.42
392.84 305.47
864.71 490.44
879.46 148.11
532.62 539.95
702.74 736.88
958.83 931.85
640.56 848.37
989.61 718.29
449.45 758.77
910.23 472.51
794.00 409.38
884.40 778.73
228.05 509.37
517.85 603.82
517.43 381.87
242.52 327.26
862.01 583.84
493.39 583.98
657...

output:

180.697541
154.665882
175.452249
 96.885096
146.451799
354.463746
 83.228377
 83.971418
 92.923390
 67.543258
120.936343
 52.336481
158.989363
155.875771
100.645249
 37.423897
 73.577051
107.379584
 56.761691
126.054340
 72.135150
289.387342
 59.933593
146.204736
 97.491697
 53.376455
 22.982015
 64...

result:

ok 97 numbers

Test #43:

score: 0
Accepted
time: 2ms
memory: 3712kb

input:

69
4.08 182.14
401.08 996.43
57.24 285.27
347.14 803.52
134.72 252.64
535.30 852.71
298.11 285.58
822.87 130.48
521.86 -96.75
145.00 790.54
903.35 859.59
266.60 485.78
727.95 974.91
248.14 635.24
684.00 118.70
51.12 701.46
29.29 164.02
610.97 999.28
114.01 949.83
570.67 707.59
834.57 27.85
202.53 41...

output:

  1.446091
 36.580539
 14.857113
 38.420843
 38.203267
 56.187087
 77.314695
357.024471
16057.230769
 16.282256
 94.139164
 45.511967
 67.721949
 33.749524
312.757202
  6.378359
 11.093857
 55.579106
 10.859854
 70.663332
652.772781
 39.519591
281.131745
  3.396671
258.178111
682.630705
239.205381
 ...

result:

ok 69 numbers

Test #44:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

51
153.67 826.41
113.71 890.73
427.34 872.03
455.33 650.92
39.07 513.03
6.92 466.44
804.26 469.70
256.51 156.62
954.08 642.98
18.50 475.90
883.38 980.69
984.76 277.98
846.89 296.24
569.77 260.49
300.05 -63.56
129.44 926.58
114.05 308.55
770.79 932.53
177.22 20.65
775.63 798.44
72.30 724.34
561.41 98...

output:

 16.587688
 11.477395
 43.963664
 60.636286
  6.373261
  1.221665
141.172547
 99.957135
128.412609
  3.212363
 81.742220
260.532303
213.731577
158.054315
823.408342
 12.608857
 27.915800
 74.650615
146.887692
 86.330751
  8.770653
 51.649080
 12.964247
113.230007
 94.121823
 95.567498
237.005431
 65...

result:

ok 51 numbers

Test #45:

score: 0
Accepted
time: 2ms
memory: 3748kb

input:

4
390.04 -79.31
37.87 565.60
939.86 593.47
349.72 700.47

output:

1885.161914
  5.689603
135.530016
 43.689333

result:

ok 4 numbers

Test #46:

score: 0
Accepted
time: 2ms
memory: 3784kb

input:

41
415.44 428.87
972.21 682.07
524.50 546.83
46.74 315.76
989.36 193.35
456.82 537.78
204.40 756.61
388.78 -28.78
614.04 696.20
456.57 198.61
143.33 312.39
870.85 797.71
359.34 721.66
133.56 365.08
479.79 48.45
825.89 390.25
875.84 337.52
802.91 869.01
795.25 944.71
900.94 752.15
643.82 568.99
377.9...

output:

 78.552385
124.312402
 81.087766
 11.242063
337.262656
 71.626580
 23.861501
545.885987
 77.121326
152.898429
 34.755935
 97.007942
 43.733418
 28.717640
323.199731
168.463029
200.182849
 82.858794
 76.121603
105.725518
 96.237612
 36.643138
149.045407
 36.847334
146.414015
 93.297119
 79.727230
258...

result:

ok 41 numbers

Test #47:

score: 0
Accepted
time: 2ms
memory: 3608kb

input:

27
499.37 -0.29
219.27 249.66
660.37 663.42
666.36 970.11
794.00 -73.53
433.38 315.93
863.26 78.50
556.58 815.20
951.10 618.15
151.11 550.89
394.25 800.92
342.45 407.60
34.97 464.19
534.83 22.86
623.90 886.30
56.39 165.16
441.14 293.63
863.94 867.57
259.11 337.20
299.97 780.95
707.39 767.47
220.56 7...

output:

500.822385
 62.709489
 86.501533
 62.270234
2999.622214
104.195417
483.619048
 60.815122
132.437513
 23.215904
 43.760822
 67.464539
  6.198267
435.316621
 63.256616
 21.266405
112.069710
 89.289664
 59.265782
 34.050741
 81.546336
 25.022974
 96.965682
 58.023066
242.383798
 64.566603
1530.190979

result:

ok 27 numbers

Test #48:

score: 0
Accepted
time: 2ms
memory: 3816kb

input:

60
458.35 989.11
753.28 651.26
697.03 352.10
788.76 755.67
236.99 -46.05
712.22 974.16
553.51 814.84
904.77 204.65
907.81 906.18
267.38 96.11
107.85 451.96
874.32 856.06
753.32 -11.19
889.36 481.81
141.77 482.17
215.17 689.88
183.53 119.68
836.24 555.29
623.79 703.87
455.85 222.80
270.13 61.27
527.3...

output:

 42.084822
100.268882
154.176067
 92.180397
439.277108
 66.304834
 60.503476
296.986706
 90.223419
136.341849
 19.539459
 91.450327
848.237811
152.860900
 24.351993
 27.240847
 83.544246
127.613728
 77.598368
141.217472
167.501705
 97.630332
461.526696
157.455120
354.173630
286.915060
283.436079
344...

result:

ok 60 numbers

Test #49:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

49
713.02 459.09
791.52 371.98
281.32 805.11
405.67 296.69
153.33 422.00
454.75 24.13
16.90 856.55
722.38 350.79
944.92 922.81
135.24 -87.31
859.04 765.77
117.38 699.02
762.98 360.75
296.34 467.84
747.85 986.87
243.24 469.73
893.31 3.40
496.64 619.48
896.81 574.96
557.63 799.74
240.46 844.09
794.69 ...

output:

127.532240
167.702021
 31.081305
102.263732
 29.373563
366.349795
  1.766766
160.247565
 92.384705
1065.721040
 99.222657
 14.690496
165.595225
 52.187236
 68.807677
 42.693908
863.936170
 69.027631
132.868614
 61.976793
 25.470029
179.647798
2227.348066
 29.805611
103.545031
148.284405
 96.748202
1...

result:

ok 49 numbers

Test #50:

score: 0
Accepted
time: 2ms
memory: 3836kb

input:

13
793.46 344.08
365.98 184.09
244.44 -64.50
109.59 590.91
826.63 976.42
451.83 851.15
500.04 650.05
780.67 821.86
663.84 938.02
722.17 979.13
691.39 679.91
704.19 183.81
306.20 887.16

output:

178.675014
128.825372
688.563380
 15.861690
 76.794374
 47.503548
 66.667555
 84.684225
 63.952525
 66.921502
 88.649972
248.120221
 31.018275

result:

ok 13 numbers

Test #51:

score: 0
Accepted
time: 2ms
memory: 3700kb

input:

47
422.17 592.01
791.55 183.67
493.41 33.94
290.99 256.04
404.39 450.31
653.71 188.13
67.99 777.82
751.34 204.20
616.82 801.37
587.26 81.09
641.63 50.17
177.86 733.70
324.71 151.86
275.34 415.06
761.54 208.76
264.57 684.08
84.51 499.10
529.58 233.89
373.82 623.79
510.82 616.86
522.12 936.90
84.79 57...

output:

 61.006344
279.039024
368.381365
 81.729581
 73.484036
226.880228
  7.745324
246.988823
 68.431388
324.291789
427.269095
 21.333813
128.924799
 53.457850
246.644643
 33.742730
 14.106159
158.609123
 51.647577
 71.257986
 50.353940
 12.544384
291.604663
  8.938636
 42.725275
1154.583921
  1.459299
 3...

result:

ok 47 numbers

Test #52:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

1
968.85 490.17

output:

164.164563

result:

ok found '164.1645630', expected '164.1645628', error '0.0000000'

Test #53:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

24
608.17 82.52
750.08 897.56
392.89 49.74
507.29 131.57
173.23 418.24
389.81 353.58
5.39 836.71
106.53 274.63
278.18 151.59
102.03 980.00
948.65 590.65
100.96 -40.41
295.42 741.13
457.14 970.07
582.07 960.31
599.63 343.37
994.25 83.43
697.61 808.91
991.64 799.06
865.03 -49.75
105.23 661.92
973.32 8...

output:

333.207320
 75.191467
262.381461
219.065509
 33.426598
 85.940738
  0.575418
 28.436057
110.568783
  9.447222
137.356114
169.424400
 35.121800
 42.720570
 54.896210
135.243702
542.032383
 76.752374
110.297422
1721.452736
 13.811161
101.367438
 34.485125
 89.138488

result:

ok 24 numbers

Test #54:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

55
718.38 319.45
568.78 884.69
174.52 247.73
274.72 481.63
52.96 99.52
875.99 -25.20
823.35 383.42
256.30 692.22
519.61 234.20
682.64 572.97
57.81 362.92
580.83 38.55
764.83 953.23
607.83 123.43
308.19 729.48
495.06 575.58
149.27 284.38
763.00 117.83
223.50 366.67
712.81 859.65
333.87 377.97
136.01 ...

output:

171.267136
 57.762341
 50.188365
 47.232777
 26.543705
1171.109626
170.317736
 32.352124
155.478755
101.436914
 12.488119
419.220498
 72.617567
272.044936
 37.154603
 73.279256
 38.833966
350.273149
 47.892515
 74.278122
 69.851664
 26.169357
177.262450
303.472773
135.763078
 48.932937
 76.874137
  ...

result:

ok 55 numbers

Test #55:

score: 0
Accepted
time: 2ms
memory: 3768kb

input:

85
33.71 871.52
321.14 986.32
747.79 750.60
710.80 -20.72
105.37 147.82
407.09 393.57
843.51 445.08
135.42 794.34
840.86 940.63
581.72 987.76
410.44 98.01
511.53 493.81
835.13 573.24
25.09 330.14
887.21 325.35
918.51 481.66
884.00 -31.12
781.02 34.28
704.80 955.49
262.57 108.60
172.85 117.51
879.83 ...

output:

  3.469820
 29.562192
 87.913238
896.569122
 42.518764
 82.478676
154.749762
 15.141892
 80.802975
 53.478709
207.282460
 86.143716
124.046402
  5.832985
208.583519
157.911839
1283.391405
581.635389
 66.774673
125.872483
 79.467611
1204.256775
5229.354207
161.225108
  7.214779
 30.666530
 62.673007
...

result:

ok 85 numbers

Test #56:

score: 0
Accepted
time: 2ms
memory: 3876kb

input:

57
907.03 -32.58
321.08 623.55
641.68 528.37
552.88 414.50
834.99 998.67
672.08 580.66
369.30 956.77
519.93 482.45
266.83 -95.76
41.69 19.20
386.22 981.95
882.87 105.86
961.83 813.77
798.96 -63.94
329.56 868.84
750.06 -43.49
269.61 326.97
480.85 823.90
12.96 562.70
96.25 657.50
689.65 -20.99
271.26 ...

output:

1345.342628
 44.375648
102.118179
107.459670
 76.000073
 98.739459
 34.946109
 89.266031
6293.160377
 34.974832
 35.696659
428.869134
105.259529
2215.640599
 34.015937
1327.304902
 63.144952
 52.045676
  1.955636
 12.706271
872.864194
106.251469
 31.250367
 88.305076
 24.849089
 31.718509
1512.03125...

result:

ok 57 numbers

Test #57:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

69
304.62 355.31
770.03 933.09
129.46 -24.30
798.15 -56.18
431.01 801.87
560.41 672.59
228.46 945.56
387.64 485.92
957.10 891.73
270.91 518.58
350.93 309.44
657.09 609.57
420.19 998.83
198.34 683.23
25.02 653.48
678.18 -98.20
533.34 426.42
593.63 516.11
115.85 485.25
397.34 219.95
621.75 174.77
423....

output:

 66.903868
 74.536584
171.017173
1821.428571
 47.790702
 72.536533
 21.850492
 66.159203
 96.508122
 43.795467
 85.709750
 92.603971
 38.239764
 25.323341
  3.320592
37676.666667
101.314540
 96.351301
 19.794959
124.188154
226.280162
 81.980604
 49.651261
  9.650079
129.199673
 40.438017
 27.705274
...

result:

ok 69 numbers

Test #58:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

66
713.90 441.38
486.65 724.94
57.93 134.33
976.13 284.62
625.63 59.33
666.57 781.77
85.88 154.95
787.87 -30.65
221.51 115.18
233.02 18.08
762.19 31.84
576.08 -68.15
516.58 486.22
137.02 -56.18
918.94 -86.36
813.93 -20.60
700.16 138.84
408.90 157.79
986.91 874.18
662.61 565.56
109.30 630.09
319.18 7...

output:

131.866711
 58.992169
 24.721547
253.790755
392.663026
 75.594543
 33.685036
1136.077866
102.941723
197.340786
578.117415
1808.728414
 88.120501
312.688270
6737.096774
1025.100756
293.150226
158.617479
101.306740
 99.556764
 14.970757
 38.016627
123.866221
  9.281095
 61.353078
  7.721513
 78.687929...

result:

ok 66 numbers

Test #59:

score: 0
Accepted
time: 2ms
memory: 3880kb

input:

75
777.71 41.99
983.06 112.51
517.73 254.87
35.33 518.21
834.49 726.42
425.92 813.31
10.59 157.22
958.74 293.21
529.04 969.82
431.34 912.19
705.27 789.03
218.46 253.89
583.86 186.22
901.58 734.23
150.25 663.86
123.59 649.80
732.84 561.78
710.95 99.53
805.47 601.35
707.28 509.80
54.95 746.76
301.86 -...

output:

547.721671
462.594701
145.892862
  5.714887
100.976501
 46.634768
  4.117098
243.823911
 49.451310
 42.614529
 79.330281
 61.731046
203.989938
108.073313
 19.669835
 16.483062
110.737707
356.312334
114.845655
115.985569
  6.489442
411.141378
107.209302
3244.692737
241.598314
 22.121309
 38.197409
 4...

result:

ok 75 numbers

Test #60:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

98
428.99 487.25
786.17 -26.58
185.06 873.09
128.11 825.76
251.03 48.64
45.82 68.03
387.46 604.23
642.43 981.95
862.57 983.77
366.65 990.70
905.04 659.49
668.72 254.88
987.77 899.75
422.28 846.91
724.02 890.54
815.57 268.75
217.85 232.28
842.36 653.52
978.31 22.78
372.06 329.18
326.17 926.88
65.95 3...

output:

 73.050660
1070.784527
 19.017768
 13.838360
168.884553
 27.268940
 55.018957
 59.377051
 79.589765
 33.616026
119.164176
188.435528
 98.801700
 44.595579
 73.093464
221.171525
 65.562176
111.789999
796.799153
 86.690899
 31.763205
 13.990835
 78.605503
193.299263
 24.591836
166.703653
 81.714991
46...

result:

ok 98 numbers

Test #61:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

77
879.62 441.81
837.68 576.20
420.70 128.42
35.00 680.92
780.83 479.40
170.17 863.06
403.70 259.27
432.68 588.94
830.99 859.51
589.97 754.53
963.79 680.83
486.49 214.43
724.99 544.99
886.10 355.19
23.19 108.11
634.90 94.61
731.45 68.24
110.80 930.70
666.08 -75.70
205.99 959.47
885.91 57.93
852.85 6...

output:

162.348425
123.880509
184.178268
  4.481893
134.765274
 17.669719
112.366744
 62.803727
 86.605663
 69.040291
123.431477
154.721242
112.403293
194.665964
 11.143145
326.242228
434.765811
 10.749976
2741.069959
 19.442740
560.951054
109.674391
 53.653311
 33.977283
156.607635
 44.396907
101.259200
 4...

result:

ok 77 numbers

Test #62:

score: 0
Accepted
time: 2ms
memory: 3816kb

input:

62
162.96 950.68
281.62 739.02
265.99 75.76
690.03 606.82
240.13 351.66
424.18 935.83
443.64 860.74
519.35 375.88
558.46 749.88
84.51 858.78
251.99 45.74
785.37 760.18
327.48 891.84
468.22 39.28
811.32 -46.63
872.10 386.45
290.65 42.82
63.80 415.39
904.46 654.89
508.51 189.65
497.20 126.51
303.44 62...

output:

 15.509955
 33.565350
151.337051
 97.624572
 53.166098
 40.950735
 46.176905
109.134656
 65.710453
  8.814327
172.903801
 91.302983
 33.017422
336.171740
1520.179876
179.278446
203.507912
 12.378975
119.813483
175.560159
219.504658
 41.927238
118.791245
 77.380459
 95.926976
 52.263635
 10.296262
41...

result:

ok 62 numbers

Test #63:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

52
655.60 160.65
193.15 807.94
80.71 427.02
673.79 678.82
592.40 314.59
577.77 497.73
661.31 180.24
795.08 897.67
497.52 611.92
276.36 -68.61
693.16 250.43
844.60 731.03
630.16 896.41
106.97 328.29
22.74 607.68
522.44 660.66
248.27 -27.16
576.69 988.70
819.38 697.48
844.53 231.66
677.84 833.55
324.3...

output:

251.525034
 21.273432
 15.314409
 86.514214
142.888155
 96.660700
235.979874
 79.693686
 69.884257
880.407773
197.802700
101.632913
 63.243043
 24.976068
  3.213317
 68.682460
340.842943
 52.970515
102.746150
254.637279
 72.608859
 32.155747
 14.664868
107.044639
167.807656
 26.237162
 95.902960
 77...

result:

ok 52 numbers

Test #64:

score: 0
Accepted
time: 2ms
memory: 3780kb

input:

7
472.02 605.50
622.27 104.32
676.80 989.60
78.28 844.99
375.00 626.37
370.70 132.01
361.01 -52.29

output:

 66.905741
304.556578
 62.114537
  8.283686
 51.626581
159.777596
756.675749

result:

ok 7 numbers

Test #65:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

92
632.59 -3.17
317.38 221.45
143.08 355.25
783.93 947.01
943.02 581.20
386.14 611.81
539.05 36.70
152.18 575.06
211.18 250.18
597.46 -29.51
353.42 825.44
461.85 12.40
759.46 284.18
451.78 29.25
430.98 -0.65
375.84 -32.20
523.78 625.22
359.99 193.14
411.09 641.92
243.68 465.81
736.19 495.15
908.40 4...

output:

653.299597
 98.733862
 31.428885
 74.873210
138.435115
 54.247622
394.330651
 22.543181
 60.306128
847.581217
 38.189402
410.898577
197.683378
349.539652
433.799698
554.336283
 72.223601
122.804803
 55.408939
 43.067461
123.698227
166.346207
 33.218923
244.044926
322.605478
 15.754657
 54.064832
 64...

result:

ok 92 numbers

Test #66:

score: 0
Accepted
time: 1ms
memory: 3752kb

input:

8
29.39 671.04
107.18 110.61
239.80 341.40
156.38 535.85
882.79 959.64
467.67 578.52
376.51 578.77
921.65 356.45

output:

  3.811735
 50.890271
 54.327141
 24.593851
 83.310370
 68.925013
 55.469452
201.916968

result:

ok 8 numbers

Test #67:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

52
726.51 917.97
809.51 887.15
38.00 253.70
212.12 838.98
877.45 683.24
691.73 689.37
105.17 739.60
284.55 162.23
857.38 324.26
13.38 320.99
388.17 154.22
285.81 -36.01
402.18 454.65
579.87 910.34
42.35 610.50
995.13 921.90
663.64 764.35
147.07 338.23
406.38 512.21
873.06 503.07
315.20 332.87
27.41 ...

output:

 71.368508
 82.004761
 10.743568
 22.590471
112.028242
 87.630642
 12.526203
108.511612
202.088342
  3.178223
152.690583
446.647914
 72.510592
 57.393551
  5.960591
 97.380370
 76.779083
 33.560003
 66.379184
144.769264
 72.816319
  3.038870
 62.354562
 45.837756
107.102569
164.817879
182.913220
337...

result:

ok 52 numbers

Test #68:

score: 0
Accepted
time: 2ms
memory: 3668kb

input:

61
973.82 989.85
575.01 88.86
107.92 125.53
791.57 51.88
984.27 -87.13
418.23 716.63
488.80 144.81
177.90 708.87
399.39 678.46
595.34 507.82
722.50 541.43
755.32 513.81
688.79 380.83
70.38 150.82
434.63 761.98
792.11 -73.81
82.11 389.54
555.70 677.86
867.50 609.77
363.30 704.48
619.12 687.74
263.88 ...

output:

 89.353581
304.463624
 47.851727
521.181196
7647.785548
 51.214136
199.665046
 21.993645
 51.305141
 97.946761
112.638947
123.054365
143.250213
 28.059963
 50.422284
3024.474990
 16.772889
 71.439591
122.222692
 45.159606
 78.594460
 34.579096
 12.473479
650.525186
  0.462874
 20.191519
  6.327650
3...

result:

ok 61 numbers

Test #69:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

43
480.98 932.42
165.60 599.09
878.61 31.95
449.52 419.85
752.13 31.03
711.24 352.41
639.35 632.30
250.36 164.50
609.66 18.44
179.16 906.04
835.86 507.04
77.30 826.32
339.13 54.60
382.22 294.55
449.64 288.67
42.57 725.87
350.08 75.01
998.64 -84.61
866.67 956.60
549.99 364.62
220.86 434.53
555.71 879...

output:

 46.587629
 23.687937
665.865858
 86.471097
574.013585
157.211379
 87.307115
 94.654064
514.741641
 17.808437
137.694386
  8.344848
219.359638
 96.874921
115.686829
  5.154564
200.034284
6488.888889
 82.024418
118.374155
 41.318542
 56.736944
104.978304
103.000912
302.889199
 59.798472
1621.964329
4...

result:

ok 43 numbers

Test #70:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

57
647.09 854.43
847.53 297.27
733.97 172.80
486.40 934.35
304.07 432.59
819.67 254.29
845.02 432.61
218.12 702.61
273.75 112.77
178.82 216.82
407.76 778.30
310.40 225.09
874.88 508.05
44.35 599.69
697.55 462.07
635.49 925.40
399.59 206.75
6.94 440.94
351.49 585.40
267.93 430.07
520.45 249.16
864.84...

output:

 67.798581
213.338536
269.050587
 47.024702
 57.092698
231.355669
158.656428
 27.176337
128.660055
 56.442144
 46.426050
 95.481251
143.882904
  6.338521
124.103759
 61.974839
130.265689
  1.282952
 51.282463
 50.546154
149.057739
1262.171629
 76.397278
 92.839139
265.919773
 25.905328
175.384351
 3...

result:

ok 57 numbers

Test #71:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

40
679.02 353.02
936.74 390.45
894.63 678.54
553.65 46.68
426.88 875.05
647.52 280.59
748.03 67.57
546.58 548.91
283.78 201.91
425.91 673.57
379.67 487.31
565.81 47.88
860.66 790.30
88.19 -90.66
674.68 358.47
395.56 -85.10
811.52 623.52
214.05 208.16
768.75 970.82
345.19 934.73
842.35 645.95
541.38 ...

output:

149.887422
190.996024
114.911244
377.454322
 43.780319
170.135842
446.398520
 84.230479
 93.994899
 55.057719
 64.645588
382.614282
 96.670785
944.218415
147.159029
2654.765101
112.162760
 69.460670
 71.790777
 33.360394
112.923118
109.391796
 26.966198
305.035313
170.065068
328.803326
 51.766324
 3...

result:

ok 40 numbers

Test #72:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

48
185.69 656.19
782.79 454.76
228.25 596.11
141.52 464.08
260.31 58.19
260.68 810.98
414.75 75.90
96.84 183.75
93.41 466.46
341.53 -44.66
499.49 895.17
415.89 401.77
81.69 817.64
44.21 150.68
568.41 405.76
571.56 -87.24
681.73 159.35
722.15 350.45
656.50 484.71
412.26 449.84
225.06 941.32
627.58 75...

output:

 24.555998
141.104261
 32.789358
 25.088640
164.555282
 28.615337
235.787379
 34.128634
 16.490132
617.148536
 50.191425
 82.884589
  8.902184
 17.636030
112.387298
4479.310345
262.860999
160.317460
112.277881
 74.978175
 21.612953
 73.226454
127.196923
 24.762112
3658.544839
 85.059190
252.768825
2...

result:

ok 48 numbers

Test #73:

score: 0
Accepted
time: 2ms
memory: 3708kb

input:

29
835.80 378.91
83.70 -86.12
978.91 87.23
259.78 615.42
762.57 217.18
822.31 864.90
292.29 343.67
962.92 100.56
688.83 604.48
130.21 728.31
380.94 765.83
586.58 947.49
526.20 245.75
790.30 756.75
103.38 269.61
862.87 857.21
618.51 318.06
971.51 135.88
589.47 564.96
848.53 417.02
50.03 469.59
980.46...

output:

174.521309
603.025937
522.838220
 36.311537
240.421842
 85.222303
 65.880046
480.115676
 97.778503
 15.719960
 43.997089
 55.998625
152.190889
 92.243945
 27.970022
 90.144273
147.947663
411.866203
 88.647437
164.119376
  8.783511
20215.670103
 79.622017
 30.272387
103.806833
 58.283158
 23.502822
 ...

result:

ok 29 numbers

Test #74:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

90
215.64 10.99
595.95 -79.67
166.16 137.27
240.11 997.94
931.48 -94.44
528.06 52.65
891.03 948.25
511.82 134.47
334.81 975.85
832.79 693.28
721.21 760.35
827.72 462.16
769.44 878.07
314.87 385.50
541.56 864.13
585.80 662.11
171.98 -57.39
427.74 816.69
99.89 37.81
918.47 406.98
174.53 222.75
587.11 ...

output:

194.287774
2931.382194
 70.029924
 21.869137
16753.237410
345.928595
 85.001669
218.288054
 31.120509
104.980587
 83.827512
147.239220
 78.669216
 64.854789
 56.170848
 76.865544
403.614175
 46.661358
 72.483855
181.164937
 54.075910
315.888303
 93.217136
131.504428
 43.661238
 91.246817
148.167376
...

result:

ok 90 numbers

Test #75:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

48
424.16 246.17
514.02 609.66
593.13 781.94
825.13 -97.21
336.62 -49.21
367.85 727.74
985.26 39.90
812.97 67.04
806.32 556.41
181.23 -85.72
956.89 946.19
168.18 726.99
928.27 781.16
809.93 227.54
942.90 731.27
632.71 432.95
847.68 181.96
605.73 544.18
501.58 851.78
760.08 585.75
790.31 399.88
135.2...

output:

122.529393
 72.431869
 67.252874
29574.551971
662.768261
 44.440283
704.260186
486.691810
122.837860
1269.117647
 91.464266
 20.336401
105.346362
247.276668
113.428850
118.718454
300.638388
 94.031171
 52.699153
110.839227
158.099944
213.951281
 62.056682
 48.314164
 92.857591
 54.944889
309.460773
...

result:

ok 48 numbers

Test #76:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

58
623.85 135.83
352.76 693.64
25.56 526.41
146.64 416.73
572.39 978.73
229.63 882.11
317.91 239.04
830.38 -42.28
176.00 28.78
533.82 889.19
235.14 891.59
714.35 386.31
444.70 891.16
141.75 234.64
347.27 508.99
756.11 285.64
128.72 356.29
438.78 427.87
519.13 2.12
584.03 549.99
862.95 214.77
379.86 ...

output:

264.533774
 44.448364
  4.080395
 28.378457
 53.061470
 23.381291
 93.767697
1438.634789
136.667184
 53.965366
 23.713430
146.891900
 44.866621
 42.358953
 57.023925
196.066279
 28.210130
 83.122739
508.352918
 89.852152
274.152556
115.018470
1010.401989
 22.818236
 20.917788
 51.861858
111.085545
 ...

result:

ok 58 numbers

Test #77:

score: 0
Accepted
time: 2ms
memory: 3816kb

input:

10
615.95 438.13
78.31 647.80
353.44 470.60
580.15 983.79
816.19 -60.52
589.27 400.46
141.83 754.32
499.08 834.87
968.83 172.11
749.91 237.87

output:

114.461190
 10.472051
 61.941816
 53.529743
2067.350557
117.745674
 16.601508
 53.384963
356.043512
221.952230

result:

ok 10 numbers

Test #78:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

12
937.77 27.63
441.61 748.72
498.57 416.53
746.97 537.87
94.56 306.01
644.29 481.22
694.43 654.42
642.33 692.94
522.68 640.69
832.03 330.63
850.34 314.87
895.19 887.66

output:

734.756719
 52.032472
 96.522951
117.103799
 23.290067
110.851313
 92.048196
 81.006129
 70.566634
193.212270
204.965411
 90.637466

result:

ok 12 numbers

Test #79:

score: 0
Accepted
time: 0ms
memory: 3708kb

input:

68
730.57 612.29
642.97 673.25
933.40 46.11
936.54 -93.49
978.09 702.62
113.61 492.22
374.50 624.20
56.17 -30.10
208.19 246.17
258.34 -8.90
542.92 34.78
154.78 790.90
801.13 15.53
237.40 97.04
942.33 998.33
466.48 194.68
875.52 176.16
818.98 591.38
246.67 330.63
552.18 709.69
411.21 -27.72
132.92 -2...

output:

102.566370
 83.151633
638.833755
14386.175115
121.862151
 19.183749
 51.712234
 80.357654
 60.140971
283.578485
402.819409
 17.373443
693.438934
120.483151
 85.796619
158.300529
317.033604
118.455842
 57.281193
 68.196470
568.912562
170.607111
 63.183932
244.795071
 34.166744
112.267820
146.789842
 ...

result:

ok 68 numbers

Test #80:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

79
643.67 562.45
755.32 479.61
377.86 600.30
909.09 804.63
950.98 204.19
427.11 780.87
446.93 700.90
999.96 -44.74
977.29 -6.78
469.32 754.86
549.59 874.83
975.60 277.71
845.59 201.84
491.81 710.91
994.75 203.78
827.84 679.54
142.56 847.22
553.54 731.63
781.99 506.10
495.48 515.12
485.74 682.29
736....

output:

 97.165069
130.315212
 53.956876
100.493019
312.626977
 48.487291
 55.803471
1809.554832
1048.369449
 54.900218
 56.378035
258.293400
280.145110
 60.649147
327.457370
106.195962
 15.050358
 66.560850
129.019964
 80.550137
 62.092063
 70.058679
 94.967195
 60.622510
 97.836610
 17.918923
811.440055
 ...

result:

ok 79 numbers

Test #81:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

80
247.69 89.33
649.79 715.45
822.44 914.15
39.06 386.57
189.08 9.16
556.49 172.19
885.07 480.19
693.36 860.09
454.49 999.44
180.40 493.63
877.80 477.69
962.89 779.27
959.35 145.32
508.17 37.83
125.36 752.68
341.48 -72.57
881.71 310.75
208.00 404.26
419.60 777.94
343.54 -78.47
592.53 258.31
914.05 9...

output:

130.824486
 79.684837
 81.096485
  8.027622
173.213631
204.449098
152.548303
 72.218230
 41.338318
 30.389300
151.950008
109.510162
391.060655
368.693318
 14.701881
1244.914327
214.658551
 41.248562
 47.793699
1595.633999
165.367977
 89.807328
 50.513988
 65.279448
 91.869321
 24.219027
152.264864
 ...

result:

ok 80 numbers

Test #82:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

19
280.12 425.93
13.00 403.58
179.60 105.55
143.15 977.47
698.37 816.39
48.40 815.47
60.63 164.56
534.47 814.60
760.74 464.25
548.07 910.98
146.91 86.84
476.14 12.76
457.08 625.72
882.41 604.28
272.56 -75.66
517.20 989.36
688.66 872.76
785.85 366.88
742.36 637.33

output:

 53.261841
  2.581516
 87.375334
 13.285753
 76.208819
  5.286902
 22.917297
 58.437568
134.823217
 54.211755
 78.628773
422.259667
 62.982969
125.292497
1119.802794
 47.477418
 70.794441
168.319483
100.682191

result:

ok 19 numbers

Test #83:

score: 0
Accepted
time: 2ms
memory: 3608kb

input:

63
802.67 326.60
104.42 529.90
664.71 856.82
305.45 257.60
488.04 861.06
748.16 -56.52
354.96 790.43
218.12 400.55
884.53 343.05
964.27 356.82
258.82 887.04
174.52 823.95
890.06 141.86
307.48 421.68
940.47 21.88
733.64 183.42
584.06 527.96
69.47 303.14
477.20 266.54
355.92 -57.76
369.60 -60.20
216.6...

output:

188.155180
 16.577234
 69.470747
 85.416667
 50.781429
1720.699172
 39.863886
 43.576066
199.645638
211.083140
 26.221835
 18.888468
368.006285
 58.940347
771.636035
258.852586
 93.009109
 17.232227
130.190429
842.613636
928.643216
 39.223568
 99.191168
 75.213585
134.640654
 11.762652
 80.532441
 1...

result:

ok 63 numbers

Test #84:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

89
817.62 203.40
318.74 682.48
87.44 827.09
929.01 774.13
368.47 170.09
584.52 856.63
85.53 13.55
366.64 575.72
847.13 210.84
253.98 559.83
206.89 333.34
176.90 226.08
753.49 215.32
63.12 553.53
886.68 286.51
54.46 -86.42
424.63 350.43
390.69 132.51
188.71 575.56
101.84 994.84
339.73 -65.84
269.26 6...

output:

269.485827
 40.734587
  9.431663
106.278242
136.424895
 61.101993
 75.323646
 54.259161
272.529276
 38.491733
 47.743112
 54.250491
238.960421
  9.658317
229.406742
401.030928
 94.272140
168.031483
 27.933862
  9.301816
994.525761
 34.020671
107.375496
112.567056
 99.970965
 89.851925
 17.894392
110...

result:

ok 89 numbers

Test #85:

score: 0
Accepted
time: 2ms
memory: 3728kb

input:

65
710.25 -75.22
308.98 336.75
853.29 21.68
584.36 53.14
727.60 529.75
928.89 -24.42
790.26 972.58
860.32 342.75
712.24 764.79
973.81 -72.68
543.17 49.28
114.44 179.85
194.69 253.64
603.14 378.67
471.95 294.74
121.19 718.22
249.19 396.50
706.12 151.87
282.97 722.49
711.14 105.82
851.64 82.76
312.04 ...

output:

2866.222760
 70.745278
701.257396
381.585477
115.537912
1229.015613
 73.678420
194.312818
 82.359879
3564.458272
363.859861
 40.893336
 55.053161
126.003301
119.559710
 14.811420
 50.189325
280.350975
 34.404066
345.515499
465.988181
 51.746211
166.400709
128.372764
 56.502450
181.225870
  6.237411
...

result:

ok 65 numbers

Test #86:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

32
11.71 351.55
113.34 687.72
252.39 349.99
396.95 -64.44
851.37 100.82
13.75 63.55
476.06 161.81
28.83 598.72
659.50 448.49
46.96 36.43
493.23 331.39
612.44 885.98
545.65 235.46
769.51 624.69
249.43 467.86
88.12 -34.51
226.62 391.48
681.82 603.48
407.95 589.52
423.84 516.73
775.77 105.02
979.18 356...

output:

  2.593290
 14.388361
 56.087913
1116.282340
423.946818
  8.407215
181.834155
  4.126116
120.239202
 34.420582
114.335056
 62.114850
162.657247
106.184713
 43.924559
134.554894
 46.109709
 96.921021
 59.164346
 68.723753
378.387474
214.605387
 45.256894
 85.086450
 67.354832
  9.182781
173.647485
 5...

result:

ok 32 numbers

Test #87:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

57
311.31 682.22
945.59 631.02
464.61 305.49
798.50 -46.88
348.19 845.56
892.12 736.61
494.65 592.64
606.28 915.57
228.49 447.43
365.13 114.97
406.77 134.87
874.79 19.74
45.75 448.36
47.04 165.01
865.13 -44.21
554.16 964.62
854.33 -57.56
541.23 399.13
488.09 375.73
388.77 101.25
357.01 -99.11
205.30...

output:

 39.798266
129.352138
114.579891
1503.200301
 36.823681
106.635111
 71.415165
 59.698494
 41.738670
169.851607
173.189424
730.574578
  8.343059
 17.750274
1550.690088
 52.052375
2013.030160
108.434676
102.598112
193.177640
40113.483146
 25.569491
 49.685976
 98.034909
132.055882
 79.203321
 44.80617...

result:

ok 57 numbers

Test #88:

score: 0
Accepted
time: 0ms
memory: 3736kb

input:

95
754.43 826.42
284.76 944.17
257.85 38.39
988.70 931.43
512.06 711.26
366.74 695.25
955.49 560.31
880.79 252.55
959.41 -41.29
136.36 962.51
223.49 682.26
685.37 918.78
791.18 336.49
294.70 853.71
677.73 558.49
839.24 156.73
11.08 668.24
551.64 385.66
885.21 560.89
385.57 93.79
890.53 742.59
941.34...

output:

 81.434986
 27.271421
186.321266
 95.857208
 63.119099
 46.116316
144.703245
249.834066
1634.150911
 12.833762
 28.569785
 67.273602
181.259594
 30.900379
102.921836
326.895961
  1.442258
113.585636
133.942108
198.962795
105.689600
107.517818
 56.278007
151.719590
 82.842086
 27.337094
 45.617997
12...

result:

ok 95 numbers

Test #89:

score: 0
Accepted
time: 0ms
memory: 3820kb

input:

89
330.39 562.82
755.13 233.68
150.77 61.01
149.41 917.06
348.00 935.94
881.75 542.51
358.59 898.11
886.51 482.53
687.94 803.88
220.25 226.54
982.43 800.04
224.57 803.21
608.46 353.01
258.41 407.96
247.51 193.10
399.35 202.81
294.05 85.46
117.36 463.44
758.06 739.30
335.61 330.74
602.32 735.76
17.32...

output:

 49.846112
226.303644
 93.640147
 14.690382
 33.592679
137.235218
 35.926902
152.182720
 76.109661
 67.449623
109.154038
 24.863542
134.314916
 50.872116
 84.445582
131.881378
158.551709
 20.829192
 90.320505
 77.914751
 72.068536
  3.359714
  1.904679
190.987805
 48.892544
 20.361752
144.443614
243...

result:

ok 89 numbers

Test #90:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

64
195.50 576.17
679.23 995.28
490.96 238.04
382.55 303.14
92.75 5.73
406.19 -74.38
239.14 281.40
284.38 741.56
116.32 11.51
658.92 17.85
586.18 -77.14
456.00 97.99
868.80 890.27
639.89 353.54
853.27 211.22
998.02 243.67
680.45 823.33
342.64 -67.63
606.53 295.36
140.63 937.46
668.30 294.42
939.70 30...

output:

 28.912847
 62.014279
145.237250
 94.892593
 87.723447
1585.441062
 62.700577
 33.792005
104.313514
559.117522
2564.216973
230.314662
 87.733648
141.087886
274.169398
290.400675
 73.695212
1058.510967
153.412080
 13.555221
169.438669
229.570273
 52.425390
 47.512670
285.155404
145.666176
  8.690156
...

result:

ok 64 numbers

Test #91:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

8
145.76 373.91
169.65 736.77
970.09 132.82
815.11 438.17
387.46 -79.32
330.98 585.15
593.71 420.86
432.98 727.15

output:

 30.756895
 20.274388
416.669530
151.459576
1873.597679
 48.307670
113.986484
 52.346007

result:

ok 8 numbers

Test #92:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

51
491.75 655.52
70.84 161.26
592.90 911.53
174.65 369.08
373.18 635.86
602.96 970.30
226.29 749.06
317.09 492.21
882.32 469.50
299.24 876.83
543.81 221.84
462.29 -71.57
519.87 927.54
421.76 829.26
274.03 922.63
897.73 313.53
85.92 612.86
228.15 707.67
447.97 -41.31
920.83 430.42
228.05 -35.68
652.4...

output:

 65.087622
 27.114752
 58.614179
 37.232455
 50.713451
 56.335607
 26.651827
 53.543507
154.928885
 30.633785
168.969053
1626.064017
 50.593651
 45.386652
 26.796593
217.089449
 12.052858
 28.247923
763.281649
173.603937
354.555348
265.300313
135.072127
176.595339
4414.023831
 53.639536
  6.823412
 ...

result:

ok 51 numbers

Test #93:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

96
994.71 800.88
964.24 411.36
569.44 91.69
532.63 393.47
937.80 762.19
536.71 -58.74
979.56 82.29
331.39 869.98
758.38 644.05
761.23 483.92
229.69 280.91
980.13 773.33
526.05 173.78
319.49 633.90
954.40 603.62
145.18 68.06
642.75 706.20
323.38 88.83
880.65 -65.83
614.65 901.39
960.98 -99.79
664.89 ...

output:

110.415372
188.563830
297.062966
107.935639
108.769529
1300.799806
537.363542
 34.164622
101.925946
130.365461
 60.300333
112.229054
192.143327
 43.533179
135.641397
 86.385815
 79.725874
171.254568
2577.260755
 61.379682
457609.523810
116.723136
113.549130
 95.266286
 35.755394
108.655497
146.27507...

result:

ok 96 numbers

Test #94:

score: 0
Accepted
time: 2ms
memory: 3840kb

input:

29
389.10 394.87
964.38 -60.76
333.68 220.25
325.09 259.91
12.12 337.08
837.90 708.82
540.38 -59.80
245.52 496.56
62.05 542.41
916.23 315.56
462.55 -73.95
190.73 221.65
57.61 434.37
304.65 216.34
804.32 517.97
576.43 175.64
314.81 150.90
457.80 266.54
483.80 102.73
154.24 770.60
756.15 555.53
369.43...

output:

 78.626710
2457.645260
104.193599
 90.325359
  2.772948
103.595361
1344.228856
 41.155961
  9.658941
220.480797
1775.623800
 59.297373
 10.780920
 96.304609
130.155186
209.124220
125.472300
124.897692
238.642529
 17.716517
115.349412
 56.315549
 81.497272
 82.226891
 91.464439
 69.533499
236.334142
...

result:

ok 29 numbers

Test #95:

score: 0
Accepted
time: 2ms
memory: 3740kb

input:

8
394.29 215.31
625.50 690.44
442.57 926.72
130.27 902.41
137.34 423.02
732.90 817.29
501.69 676.32
229.26 35.81

output:

125.048365
 79.133141
 43.105228
 12.995680
 26.259034
 79.898396
 64.624124
168.809366

result:

ok 8 numbers

Test #96:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

61
65.03 52.63
615.48 375.54
821.63 -25.68
692.20 729.57
485.97 384.73
319.70 380.62
591.26 785.68
265.56 757.25
113.34 725.39
522.31 113.87
839.90 703.21
67.13 849.90
643.42 -60.32
988.84 -69.99
590.95 102.60
17.31 482.94
472.88 221.49
306.03 -98.17
702.96 849.32
92.25 780.67
211.89 433.17
560.32 9...

output:

 42.606303
129.427598
1105.530140
 83.440819
100.255813
 66.518247
 66.757745
 30.978128
 13.731690
244.218450
104.567921
  7.067060
1621.522177
3295.034988
291.683119
  2.969431
147.090112
16722.950820
 74.048793
 10.474979
 39.741546
283.061379
688.051619
1854.186603
 42.579001
  7.958787
256.8542...

result:

ok 61 numbers

Test #97:

score: 0
Accepted
time: 2ms
memory: 3760kb

input:

67
302.68 331.97
419.94 328.58
602.93 971.31
234.21 973.93
54.70 843.53
504.00 660.55
458.30 108.40
598.31 653.72
910.75 852.64
663.36 -43.41
747.42 99.67
534.61 630.13
836.08 881.40
232.50 503.76
64.98 523.82
609.72 317.12
200.78 983.29
280.33 40.92
122.75 348.67
96.99 417.24
63.28 -25.61
190.45 78...

output:

 70.069681
 97.984040
 56.279695
 21.808684
  5.797378
 66.267832
219.913628
 79.380937
 95.602746
1172.221241
374.327641
 73.221207
 85.192582
 38.508679
 10.416466
146.173763
 18.534280
198.928470
 27.358638
 18.751450
 85.065197
 21.612083
  8.832693
209.207271
 98.656710
328.277168
213.836478
  ...

result:

ok 67 numbers

Test #98:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

41
16.33 124.49
22.01 704.17
664.88 -26.10
390.45 896.39
346.43 165.25
256.87 687.98
942.43 853.93
654.84 710.81
956.94 97.13
264.01 273.02
679.96 600.56
667.85 408.19
521.35 304.92
476.69 359.63
699.08 868.68
572.79 553.21
289.80 270.50
735.97 369.94
100.01 909.02
402.37 533.75
701.10 946.18
184.80...

output:

  7.274266
  2.736983
899.702300
 39.186463
130.605090
 32.598543
 98.794461
 80.763681
485.436007
 70.776366
 97.059495
131.417383
128.753828
103.711681
 72.168312
 87.688492
 78.218623
156.609354
  9.911597
 63.490335
 67.015236
 30.849359
 28.035933
 79.766441
533.846154
128.696649
 36.097599
 91...

result:

ok 41 numbers

Test #99:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

43
687.10 367.85
12.48 253.30
58.53 259.00
918.90 445.03
638.31 67.24
612.71 933.09
470.25 844.40
905.89 -37.66
820.11 -68.49
873.75 919.93
935.31 845.49
562.36 461.53
982.50 540.23
696.18 184.68
642.96 585.52
128.22 -14.64
324.01 993.84
131.69 200.13
316.99 565.66
245.75 820.74
242.64 622.05
789.40...

output:

146.863311
  3.532409
 16.303621
168.596224
381.673045
 59.308482
 49.793520
1453.144049
2602.697556
 85.667644
 98.923310
100.147810
153.460475
244.548265
 93.791574
150.210872
 29.621334
 43.877653
 47.620407
 26.690488
 33.604321
476.058377
340.159056
 35.297761
773.672055
161.338598
101.552097
 ...

result:

ok 43 numbers

Test #100:

score: 0
Accepted
time: 2ms
memory: 3740kb

input:

17
558.78 319.46
420.54 683.88
86.35 983.32
710.12 285.69
529.51 448.40
170.51 -3.79
81.35 914.71
657.17 393.32
914.14 5.51
468.83 890.94
788.11 431.12
167.77 716.32
565.76 258.44
669.09 67.76
484.78 763.63
472.51 -95.45
93.96 212.97

output:

133.214132
 53.648518
  7.970867
184.116778
 96.555434
177.226899
  8.017069
133.213736
866.401289
 47.311643
148.386429
 20.551989
157.839527
398.837625
 56.132835
10384.835165
 30.022047

result:

ok 17 numbers

Test #101:

score: 0
Accepted
time: 12ms
memory: 3728kb

input:

10000
1.00 470.90
1.00 925.83
1.00 723.16
1.00 200.28
1.00 502.82
1.00 702.12
1.00 330.23
1.00 457.20
1.00 451.97
1.00 600.65
1.00 489.03
1.00 -84.69
1.00 835.21
1.00 447.43
1.00 379.12
1.00 637.22
1.00 110.55
1.00 862.93
1.00 937.98
1.00 119.62
1.00 52.23
1.00 319.66
1.00 602.27
1.00 493.69
1.00 32...

output:

  0.175162
  0.097482
  0.121483
  0.333023
  0.165887
  0.124670
  0.232434
  0.179469
  0.181169
  0.142725
  0.169771
  6.531679
  0.106928
  0.182672
  0.208716
  0.135645
  0.474947
  0.103850
  0.096341
  0.455332
  0.656901
  0.238288
  0.142395
  0.168438
  0.232986
  0.267773
  0.145573
  0...

result:

ok 10000 numbers