QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#69504#980. New Financial YearArraiter#AC ✓39ms3844kbC++201.8kb2022-12-28 07:56:072022-12-28 07:56:07

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3596kb

input:

2
100.00 10.50
50.00 -50.75

output:

90.497737557
101.522842640

result:

ok 2 numbers

Test #2:

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

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.500772456
33.501981168
114.726529353
378.016508861
109.582792061
33.332864991
562.722139180
114.337633149
1907.632772885
1699.322187076
4817.474693660
89.415401379
0.185343452
270.209127507
31.867688584
406.101571063
155.365961097
193.611917965
27.897015799
71.999368096
103.204775412
19.98593440...

result:

ok 34 numbers

Test #3:

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

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.352915541
103.826207214
71.388540743
322.397177313
93.362648889
60.827506016
10.085644714
20.082831407
1333.274021352
30.477502846
273.606271777
61.693778811
164.968944099
120.224525638
84.591478989

result:

ok 15 numbers

Test #4:

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

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.597056570
43.365675203
69.877339022
67.143686962
18.718433687
112.050774810
19.561247425
11.973788094
31.915255969
63.592690128
94.243004190
164.367958400
354.082699951
129.864807324
818.706047820
379.992548435
79.938396842
170.465561943
5.211164157
835.521308980
37.639333114
151.144220133
48.449...

result:

ok 90 numbers

Test #5:

score: 0
Accepted
time: 4ms
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.797443854
47.502659889
15.174687238
59.865890652
75.253269068
203.120052353
84.328851413
386.330566179
161.624400274
32.753608457
335.704757670
64.155936439
87.175548127
60.346932642
115.452926143
311.867704280
82.008914231
98.259947932
41.712105360
37.866566261
23.175574050
425.066955745
212.81...

result:

ok 94 numbers

Test #6:

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

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.432114131
79.065782417
570.636102014
61.501926847
346.647950590
84.833707550
253.383368117
85.793254351
76.310863824
753.868098674

result:

ok 10 numbers

Test #7:

score: 0
Accepted
time: 4ms
memory: 3720kb

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.226457876
72.799427035
94.490872639
40.760129829
5.776743833
38.386065483
219.329224935
119.070389830
27.277150116
1200.726432227
164.018618739
136.957203323
35.659721875
922.590897534
88.716748032
14.683217952
57.511559234
291.756643824
192.115768463
255.177273728
203.370926279
30.402492441
1219....

result:

ok 89 numbers

Test #8:

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

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.755843894
235.603501758
118.355279200
157.575967010
30.282546375
295.388874470
97.394308467
70.878159203
89.279062123
18.019042356
357.673081730
7.946136348
112.389088358
19.342097329
405.224301906
541.873052321
289.404973836
102.642685953
52.955260849
50.477761071
138.260666822
73.228305984
119....

result:

ok 75 numbers

Test #9:

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

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.368900860
60.826854698
61.975311755
107.055812020
124.601414599
109.789473684
5137.056165268
76.576226862
97.608381005
272.299101724
28.212450697
137.999299842
10.194174757
36.549564848
456.250593261
197.214680131
171.774986590
859.589752467
90.613712112
22.302257930
53.456465937
69.549589349
488...

result:

ok 39 numbers

Test #10:

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

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.972189489
92.923481371
7.158078085
91.737776168
109.162139450
268.189994207
568.366643694
96.674900801
149.719653930
340.625518500
922.532855436
79.036572686
28.268609602
118.087967502
16.235278975
79.758907045
193.569669802
87.835908088
83.316811071
38.150270093
143.424338624
189.603177522
14.05...

result:

ok 28 numbers

Test #11:

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

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.598791707
39.683715026
87.011333248
83.367970471
236.393149525
182.305824692
72.656807903
154.657165586
875.422917332
875.864642946
118.262965939
38.880238036
104.529922423
22.633543001
78.672196717
58.861150620
35.954335757
27.041057690
129.642293530

result:

ok 19 numbers

Test #12:

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

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.022289044
105.175411963
31.261453572
30.657555566
113.798326601
308.298755187
161.798222687
41.468958141
79.640718563
56.352176884
145.354723152
30.509255495
91.649773364
17.069464693
38.000389348
178.058142462

result:

ok 16 numbers

Test #13:

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

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.137902963
92.887528289
304.057602037
41.682667871
594.208166727
68.969738184
44.884538457
87.608841259
23.016993221
91.559774562
96.148715272
564.733312041
88.145228874
110.809972070
36.980236697
91.792768664
126.456492437
76.045627376
39.827073764
78.555309371
50.924657534
108.565089682
234.1660...

result:

ok 66 numbers

Test #14:

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

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.470483310
875.367947670
410.894859319
5173.199527745
3.489527667
386.973117176
216.491667469
222.282670294
243.682880606
479.863813230
287.268678085
187.074645726
128.476502067
25.950380897
145.080073141
81.713863911
73.607061004
85.852531508
65.698129430
403.519834361
36.817985853
146.703073062
...

result:

ok 33 numbers

Test #15:

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

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.738969751
126.778341648
41.620576000
60.343270099
13.934571417
61.152912043
156.797108282
7.765524338

result:

ok 8 numbers

Test #16:

score: 0
Accepted
time: 4ms
memory: 3660kb

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.273905997
63.701471291
195.221572321
84.827302632
7.190419400
175.538982794
221.781946855
118.840327630
68.042201354
97.387323005
177.749003404
85.864625688
196.836654773
57.565336339
166.517393451
4.786790216
52.813307357
84.841219972
149.455332972
132.909789295
2.444317783
64.640577297
40.68655...

result:

ok 55 numbers

Test #17:

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

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.685171478
668.311688312
216.847555511
71.468615685
70.782673591
115.300369561
80.379220041
93.588460406
629.054054054
46.609763115
44.595647673
47.673147136
205.404546177
75.911179610
360.887971636
71.489165883
146.340715764
24.033808901
1117.636195753
46.278714578
64.306217376
81.670261355
60.8...

result:

ok 45 numbers

Test #18:

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

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.270853952
172.450497883
44.308432727
308.047525133
69.812875132
33.605433567
214.225155938
1030.648081101
28.098882183
127.696433525
107.485029940
109.892627776
94.731635586
77.503669170
168.439516228
37.267880942

result:

ok 16 numbers

Test #19:

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

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.674951671
404.856052723
218.273294425
1686.451748841
513.950892857
244.850200519
226.861802825
109.725206895
29.919259999
169.100548226
127.892428168
88.249486007
188.140140456
5879.696132597
26.886562091
2036.407885130
1583.987045700
74.504462810
31.284286178
259.494076209
15.114116653
127.97678...

result:

ok 60 numbers

Test #20:

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

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.430204501
92.617310833
26.064345869
162.008616047
56.658116196
160.985153836
5571.948998179
144.007057440
69.245943366
132.923576063
105.215183908
63.972621875
903.401166928
8.702725933
356.646726487
92.880911441
7.729936880
61.292562228
79.066522288
12.600470069
70.547731856
93.371009464
97.186...

result:

ok 52 numbers

Test #21:

score: 0
Accepted
time: 4ms
memory: 3804kb

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.349121056
22.477262884
1625.964912281
13.136456212
320.126457897
70.006452538
83.671503170
19.679044161
14.314843060
84.419867225
11.760742033
334.536179860
132.578648099
53.919237228
24.020579429
76.643401184
116.815944100
67.159866584
16.241520700
20.921084058
91.322230633
107.358853347
59.345...

result:

ok 87 numbers

Test #22:

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

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.784038686
113.362061258
119.160513596
29.106108972
115.966386555
10.256488178
69.533029613
262.750423535

result:

ok 8 numbers

Test #23:

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

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.697918886
81.179955669
183.207617625
294.987593052
29.905195220
34.979455038
101.522719489
74.868721461
1139.064889666
29.362128823
33.640299437
754.621393766
354.415377945
27.834839770
149.867420278
50.306694027
59.021708814
50.638675893
107.831023273
171.371289322
105.484321442
449.932065217
5...

result:

ok 44 numbers

Test #24:

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

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.830141988
762.921961487
524.947779980
130.459029506
287.848649327
460.250146570
608.546632978
39.347383910
96.387073809
26.373120766
157.281427272
158.295806361
98.288183252
87.962997734
116.150521080
705.719021964
110.321902981
68.744760521
72.208208399
100.913420397
26.917981962
304.894437054
6...

result:

ok 44 numbers

Test #25:

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

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.483827133
69.291757816
10.886896516
53.771817375
24.613566714
144.822448473
656.228990527
12.437664673
41.084552001
278.548185232
76.122542395
46.894683929
78.735239760
66.008490088
1071.527178602
106.844193499
40.209482455
31.670914074
66.519416377
7.987898178
102.559481290
15.703201102
641.0301...

result:

ok 47 numbers

Test #26:

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

input:

4
905.67 656.23
66.20 506.91
399.91 663.84
517.01 134.16

output:

119.761183767
10.907712840
52.355205279
220.793474547

result:

ok 4 numbers

Test #27:

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

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.750188869
2.579515415
112.500302056
325.641130183
109.790480682
123.948825378
83.580656425
928.209121246
136.235382638
139.588211302
84.837123373
322.075628132
153.964450235
119.514368141
108.871759134
36.436582475
192.710427855
465.086896867
161.983499723
68.225164031
60.857719475
128.749534797
...

result:

ok 26 numbers

Test #28:

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

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.971223797
31.216660265
47.272359004
65.488505440
20.002341052
67.093404729
87.750923577
270.981034654
122.228574269

result:

ok 9 numbers

Test #29:

score: 0
Accepted
time: 4ms
memory: 3716kb

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.266278433
6.405009270
118.627752570
1749.160524161
84.458921382
103.778567313
216.829587036
952.635135135
52.729117349
534.993446920
53.726147499
63.478829673
69.339170609
35.710382818
21.874916083
53.267609404
189.948097233
205.187060938
104.208917905
109.956776388
112.761532912
13.578036407
39....

result:

ok 61 numbers

Test #30:

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

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.476741232
85.462624151
258.486185280
88.335261144
98.553507424
113.859118463
53.645673519
73.148085851
353.742911153
1476.174033149
142.838655310
69.028192753
153.785241730
182.511923688

result:

ok 14 numbers

Test #31:

score: 0
Accepted
time: 4ms
memory: 3720kb

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.248404816
3691.993037424
284.550102788
29.627371889
33.695025809
68.465324860
1.322702891
269.708439514
96.674093300
105.059806693
101.642402827
2.422183556
33.001943152
80.483582000
23.676337960
146.688647604
152.517943969
61.877940967
63.590672793
76.115500090
85.874872533
14765.817091454
12.7...

result:

ok 93 numbers

Test #32:

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

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.655904938
67.449338219
52.915972892
104.200380771
351.298701299
74.239358052
39.478591817
157.617982472
9.064469220
123.218970737

result:

ok 10 numbers

Test #33:

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

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.411962317
116.131622653
48.066443246
187.775916620
29.707054788
1564.626743232
172.636991387
108.647530281
15.694200351
39.659506956
146.535803152
106.297083674
791.473743648
158.684000188

result:

ok 14 numbers

Test #34:

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

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.960311491
6.891187085
241.532090019
31.994538504
40.713241200
77.043067284
111.208105008
328.559435863
203.948803917
615.101490777
53.958256144
90.749012197
54.923615654
89.090859442
48.456820725
23.187468921
151.682716172
859.154623492
32.958627524
449.415717207
204.335375268
20.240449874
23.875...

result:

ok 23 numbers

Test #35:

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

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.986650854
42.268375791
74.940075334
184.796933030
87.736205951
17.998740330
202.868913698
43.517236073
70.540859018
104.146248733
147.975465853
155.639664723

result:

ok 12 numbers

Test #36:

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

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.857344542
226.580383870
69.255896623
104.423500612
159.641471314
129.540343759
115.753972486
5.909303108
23.351413372
82.663143037
41.373522047
84.312078188
124.420792207
101.533749531
8.958632724
219.632978407
225.383047512
110.802694747
235.102746612
104.661885246
25.347116098
102.767986730
182...

result:

ok 40 numbers

Test #37:

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

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.274965010
11153.216374269
259.336217693
197.800736498
153.423689831
67.645490264
290.740373558
213.214164498
26.796443163
84.231795431
91.953530129
472.551812199
182.985363754
8.779252061
81.337913159
260.771158354
3.546695775
12.400676910
1.571694600
5600.579896907
190.312465002
116.595905119
21...

result:

ok 28 numbers

Test #38:

score: 0
Accepted
time: 4ms
memory: 3680kb

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.263012980
507.212877928
1578.717366629
194.806338028
99.823561346
0.708167616
139.123550401
74.092156863
21.725180653
82.503177629
98.560174823
83.556393629
43.750627195
248.942790733
1943.336604514
23.958076882
278.696695588
1981.564245810
79.294574082
77.556573487
45.623504588
9416.170212766
2...

result:

ok 87 numbers

Test #39:

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

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.689013573
4527.378190255
107.486072423
121.709629446
81.198293356
135.647697856
148.535636211
80.011544655
15.252275581
198.757322077
154.202787005
30.107327141
1630.133928571
63.629261760
141.928611229
125.567337231
114.358645191

result:

ok 17 numbers

Test #40:

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

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.732911535
66.884186585
45.016897416
88.316880681
177.888560801
123.866381876
98.486547085
107.743613332
100.905848787
85.041694188
27.413339854
117.467087492
23.725371959
170.166206201
75.755949378
183.836411996
67.335269287
124.472520883
146.439640184
227.249212776
81.896971285
112.007181682
92...

result:

ok 29 numbers

Test #41:

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

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.569747857
244.741573893
99.379879054
31.873473159
45.223463687
1250.027027027
67.326504997
286.746466686
84.785142797
19.753808450
69.755817294
1780.717901519
179.484210947
89.283073795
32.466663643
298.970519420
169.887735394
143.206109058
147.527234687
1455.096153846
89.887944680
123.997387329
...

result:

ok 88 numbers

Test #42:

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

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.697540544
154.665881660
175.452249174
96.885096308
146.451798659
354.463745919
83.228377217
83.971417646
92.923390028
67.543258433
120.936342861
52.336481246
158.989362631
155.875770545
100.645249394
37.423896811
73.577050951
107.379583705
56.761690774
126.054340197
72.135150151
289.387342218
59...

result:

ok 97 numbers

Test #43:

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

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.446090593
36.580538657
14.857113193
38.420842925
38.203266788
56.187087361
77.314694746
357.024470670
16057.230769231
16.282255710
94.139163601
45.511966950
67.721948814
33.749523965
312.757201646
6.378359494
11.093856526
55.579106324
10.859853500
70.663331641
652.772780602
39.519591008
281.131744...

result:

ok 69 numbers

Test #44:

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

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.587687957
11.477395456
43.963663673
60.636286156
6.373260689
1.221665137
141.172546955
99.957135064
128.412608684
3.212363258
81.742220248
260.532303296
213.731576822
158.054314960
823.408342481
12.608856592
27.915799780
74.650615478
146.887691670
86.330751080
8.770652886
51.649079551
12.96424718...

result:

ok 51 numbers

Test #45:

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

input:

4
390.04 -79.31
37.87 565.60
939.86 593.47
349.72 700.47

output:

1885.161913968
5.689603365
135.530015718
43.689332517

result:

ok 4 numbers

Test #46:

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

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.552385274
124.312401703
81.087766492
11.242062728
337.262655531
71.626579698
23.861500566
545.885987082
77.121326300
152.898429390
34.755934916
97.007942431
43.733417715
28.717639976
323.199730549
168.463029067
200.182848784
82.858794027
76.121603124
105.725517808
96.237611922
36.643138320
149.04...

result:

ok 41 numbers

Test #47:

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

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.822384916
62.709489218
86.501532577
62.270233901
2999.622213827
104.195417498
483.619047619
60.815122378
132.437513054
23.215904377
43.760822271
67.464539007
6.198266541
435.316620544
63.256615634
21.266405189
112.069710134
89.289663797
59.265782251
34.050740678
81.546335896
25.022974031
96.9656...

result:

ok 27 numbers

Test #48:

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

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.084821552
100.268881612
154.176067242
92.180396648
439.277108434
66.304833544
60.503476018
296.986706056
90.223419269
136.341848962
19.539459381
91.450327385
848.237811057
152.860899606
24.351993404
27.240846711
83.544246176
127.613728273
77.598367895
141.217472119
167.501705215
97.630331754
461....

result:

ok 60 numbers

Test #49:

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

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.532239890
167.702021272
31.081305035
102.263732385
29.373563218
366.349794570
1.766765982
160.247565385
92.384704882
1065.721040189
99.222657288
14.690495857
165.595225176
52.187235841
68.807677091
42.693907640
863.936170213
69.027631067
132.868614436
61.976793296
25.470029340
179.647798173
2227...

result:

ok 49 numbers

Test #50:

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

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.675013511
128.825372241
688.563380282
15.861689656
76.794373943
47.503548336
66.667555496
84.684225370
63.952525000
66.921501580
88.649972433
248.120221275
31.018274646

result:

ok 13 numbers

Test #51:

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

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.006343839
279.039024218
368.381364790
81.729580946
73.484036270
226.880227675
7.745323643
246.988823143
68.431387776
324.291788613
427.269095026
21.333813122
128.924799492
53.457849571
246.644643088
33.742730334
14.106159239
158.609122765
51.647577336
71.257986218
50.353939628
12.544383951
291.60...

result:

ok 47 numbers

Test #52:

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

input:

1
968.85 490.17

output:

164.164562753

result:

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

Test #53:

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

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.207319746
75.191467180
262.381461199
219.065509349
33.426597715
85.940738128
0.575418219
28.436056909
110.568782543
9.447222222
137.356113806
169.424400067
35.121800435
42.720569682
54.896209599
135.243701649
542.032382925
76.752373722
110.297421752
1721.452736318
13.811161277
101.367437695
34.4...

result:

ok 24 numbers

Test #54:

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

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.267135535
57.762341448
50.188364536
47.232776851
26.543704892
1171.109625668
170.317736130
32.352124410
155.478755236
101.436913978
12.488118897
419.220498015
72.617566913
272.044935774
37.154602884
73.279256343
38.833966387
350.273148786
47.892515053
74.278122232
69.851664330
26.169357166
177.2...

result:

ok 55 numbers

Test #55:

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

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.469820487
29.562191619
87.913237715
896.569122099
42.518763619
82.478675770
154.749761503
15.141892345
80.802975121
53.478708539
207.282460482
86.143716003
124.046402472
5.832984610
208.583519455
157.911838531
1283.391405343
581.635388740
66.774673374
125.872483221
79.467610685
1204.256775253
5229...

result:

ok 85 numbers

Test #56:

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

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.342628300
44.375647847
102.118178780
107.459669582
76.000072815
98.739458761
34.946109371
89.266031419
6293.160377359
34.974832215
35.696658810
428.869134363
105.259529203
2215.640599002
34.015936584
1327.304901787
63.144951636
52.045675939
1.955636034
12.706270627
872.864194406
106.251468860
3...

result:

ok 57 numbers

Test #57:

score: 0
Accepted
time: 4ms
memory: 3724kb

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.903867695
74.536584421
171.017173052
1821.428571429
47.790701542
72.536532961
21.850491603
66.159202622
96.508122170
43.795467037
85.709749902
92.603971419
38.239764113
25.323340526
3.320592451
37676.666666667
101.314539721
96.351300904
19.794959419
124.188154399
226.280161590
81.980604324
49.651...

result:

ok 69 numbers

Test #58:

score: 0
Accepted
time: 4ms
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.866710998
58.992169127
24.721546537
253.790754511
392.663026423
75.594542795
33.685036282
1136.077865898
102.941723208
197.340785908
578.117415049
1808.728414443
88.120500836
312.688270196
6737.096774194
1025.100755668
293.150226093
158.617479344
101.306740028
99.556764229
14.970757030
38.016627...

result:

ok 66 numbers

Test #59:

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

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.721670540
462.594701426
145.892862175
5.714886527
100.976501053
46.634768042
4.117098204
243.823910887
49.451309566
42.614528893
79.330281318
61.731046370
203.989937810
108.073313115
19.669834786
16.483062150
110.737707395
356.312333985
114.845654809
115.985569039
6.489442109
411.141378371
107.2...

result:

ok 75 numbers

Test #60:

score: 0
Accepted
time: 4ms
memory: 3660kb

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.050659855
1070.784527377
19.017768141
13.838359834
168.884553283
27.268940070
55.018956875
59.377050696
79.589765356
33.616026405
119.164175960
188.435527502
98.801700425
44.595579305
73.093464171
221.171525424
65.562176478
111.789998938
796.799152957
86.690898924
31.763205048
13.990835419
78.605...

result:

ok 98 numbers

Test #61:

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

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.348424725
123.880508725
184.178268103
4.481893152
134.765274422
17.669719436
112.366743675
62.803727465
86.605663307
69.040291154
123.431476762
154.721241612
112.403293074
194.665963664
11.143145452
326.242228046
434.765810747
10.749975745
2741.069958848
19.442740238
560.951054265
109.674391091
...

result:

ok 77 numbers

Test #62:

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

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.509955457
33.565350051
151.337050523
97.624572027
53.166098393
40.950735159
46.176905302
109.134655796
65.710453240
8.814326540
172.903801290
91.302983097
33.017422165
336.171740379
1520.179876335
179.278445883
203.507912057
12.378975145
119.813482759
175.560158812
219.504657631
41.927238058
118....

result:

ok 62 numbers

Test #63:

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

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.525033570
21.273432165
15.314409320
86.514213811
142.888154562
96.660699647
235.979874393
79.693686289
69.884256658
880.407773176
197.802699541
101.632913373
63.243042523
24.976067618
3.213316753
68.682459969
340.842943438
52.970515293
102.746150374
254.637279141
72.608858658
32.155746807
14.664...

result:

ok 52 numbers

Test #64:

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

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.905740609
304.556577917
62.114537445
8.283685542
51.626581494
159.777595793
756.675749319

result:

ok 7 numbers

Test #65:

score: 0
Accepted
time: 4ms
memory: 3776kb

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.299597232
98.733862187
31.428885228
74.873210380
138.435114504
54.247622259
394.330651061
22.543181347
60.306128277
847.581217194
38.189401798
410.898576512
197.683377583
349.539651838
433.799698037
554.336283186
72.223601114
122.804803166
55.408938969
43.067460808
123.698227338
166.346206669
33...

result:

ok 92 numbers

Test #66:

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

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.811734800
50.890271117
54.327140915
24.593850751
83.310369559
68.925013264
55.469452097
201.916967904

result:

ok 8 numbers

Test #67:

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

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.368507913
82.004761181
10.743567995
22.590470511
112.028241663
87.630642158
12.526202954
108.511611944
202.088342054
3.178222761
152.690582960
446.647913737
72.510592265
57.393550686
5.960591133
97.380369899
76.779082548
33.560002738
66.379183613
144.769263933
72.816318987
3.038870041
62.35456215...

result:

ok 52 numbers

Test #68:

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

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.353580768
304.463623848
47.851727043
521.181195681
7647.785547786
51.214136145
199.665046362
21.993645456
51.305140919
97.946760554
112.638947352
123.054365357
143.250213173
28.059963320
50.422283580
3024.474990454
16.772888834
71.439590672
122.222691858
45.159606205
78.594460101
34.579096341
12....

result:

ok 61 numbers

Test #69:

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

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.587629066
23.687937175
665.865858280
86.471097432
574.013584675
157.211379059
87.307114571
94.654064272
514.741641337
17.808437040
137.694385872
8.344848433
219.359637775
96.874920796
115.686829444
5.154564278
200.034283755
6488.888888889
82.024417944
118.374155224
41.318541522
56.736944203
104.9...

result:

ok 43 numbers

Test #70:

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

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.798581352
213.338535505
269.050586510
47.024701503
57.092697948
231.355669085
158.656427780
27.176337200
128.660055459
56.442143804
46.426050324
95.481251346
143.882904366
6.338521345
124.103759318
61.974839087
130.265688672
1.282951899
51.282462795
50.546154282
149.057738573
1262.171628722
76.39...

result:

ok 57 numbers

Test #71:

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

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.887422189
190.996024060
114.911244124
377.454322334
43.780318958
170.135841719
446.398520021
84.230478803
93.994899142
55.057719405
64.645587509
382.614281850
96.670785129
944.218415418
147.159028944
2654.765100671
112.162759841
69.460669782
71.790777161
33.360393533
112.923118171
109.391796322
...

result:

ok 40 numbers

Test #72:

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

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.555997831
141.104261302
32.789358004
25.088639909
164.555281623
28.615337329
235.787379193
34.128634361
16.490131695
617.148536321
50.191424581
82.884588557
8.902183863
17.636029998
112.387298323
4479.310344828
262.860998650
160.317460317
112.277881343
74.978175469
21.612952791
73.226453841
127.1...

result:

ok 48 numbers

Test #73:

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

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.521308805
603.025936599
522.838220371
36.311537279
240.421842487
85.222302829
65.880045980
480.115676107
97.778503293
15.719959918
43.997089498
55.998625285
152.190889371
92.243945142
27.970022456
90.144273461
147.947663015
411.866203154
88.647437440
164.119376426
8.783510946
20215.670103093
79....

result:

ok 29 numbers

Test #74:

score: 0
Accepted
time: 4ms
memory: 3660kb

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.287773673
2931.382193802
70.029923716
21.869136747
16753.237410072
345.928594825
85.001669449
218.288053909
31.120509365
104.980586930
83.827512059
147.239220151
78.669215905
64.854788877
56.170848330
76.865544344
403.614175076
46.661357711
72.483854582
181.164937473
54.075910147
315.888303024
9...

result:

ok 90 numbers

Test #75:

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

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.529393073
72.431868782
67.252874345
29574.551971326
662.768261469
44.440283181
704.260185847
486.691810345
122.837860484
1269.117647059
91.464265573
20.336400682
105.346361614
247.276668499
113.428849832
118.718453889
300.638388424
94.031171412
52.699153166
110.839227124
158.099943987
213.951281...

result:

ok 48 numbers

Test #76:

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

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.533774329
44.448364498
4.080394630
28.378456834
53.061470433
23.381291301
93.767697027
1438.634788635
136.667184345
53.965365602
23.713429946
146.891900228
44.866620929
42.358952905
57.023924859
196.066279432
28.210129523
83.122738553
508.352918136
89.852151572
274.152555834
115.018470296
1010.4...

result:

ok 58 numbers

Test #77:

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

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.461189675
10.472051351
61.941815633
53.529742847
2067.350557244
117.745673980
16.601507632
53.384962615
356.043511815
221.952230148

result:

ok 10 numbers

Test #78:

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

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.756718640
52.032472429
96.522951232
117.103798580
23.290066747
110.851312756
92.048195965
81.006129089
70.566633814
193.212270395
204.965410852
90.637466335

result:

ok 12 numbers

Test #79:

score: 0
Accepted
time: 4ms
memory: 3716kb

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.566370439
83.151632719
638.833755390
14386.175115207
121.862151454
19.183749282
51.712234189
80.357653791
60.140971199
283.578485181
402.819409408
17.373442586
693.438933610
120.483150629
85.796618503
158.300529388
317.033603708
118.455841939
57.281192671
68.196470254
568.912562258
170.607110769...

result:

ok 68 numbers

Test #80:

score: 0
Accepted
time: 4ms
memory: 3604kb

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.165069062
130.315211953
53.956875625
100.493019245
312.626976561
48.487290974
55.803471095
1809.554831705
1048.369448616
54.900217579
56.378035145
258.293399698
280.145109992
60.649147254
327.457370465
106.195961721
15.050357889
66.560850378
129.019963702
80.550136559
62.092063046
70.058678637
94...

result:

ok 79 numbers

Test #81:

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

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.824486347
79.684836593
81.096484741
8.027621925
173.213631367
204.449098057
152.548303142
72.218229541
41.338317689
30.389299732
151.950007790
109.510161839
391.060655470
368.693317855
14.701881128
1244.914327379
214.658551430
41.248562250
47.793698886
1595.633999071
165.367977450
89.807327641
5...

result:

ok 80 numbers

Test #82:

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

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.261840929
2.581516343
87.375334468
13.285752736
76.208819389
5.286901810
22.917296643
58.437568336
134.823216659
54.211754931
78.628773282
422.259666548
62.982968638
125.292497302
1119.802793755
47.477417933
70.794440561
168.319482522
100.682191149

result:

ok 19 numbers

Test #83:

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

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.155180497
16.577234482
69.470746849
85.416666667
50.781428839
1720.699172033
39.863885988
43.576066327
199.645638190
211.083139968
26.221834981
18.888467991
368.006284627
58.940346573
771.636035445
258.852586268
93.009108860
17.232227018
130.190429421
842.613636364
928.643216080
39.223568182
99....

result:

ok 63 numbers

Test #84:

score: 0
Accepted
time: 4ms
memory: 3672kb

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.485827291
40.734587465
9.431662514
106.278242367
136.424895405
61.101993456
75.323645971
54.259160599
272.529275512
38.491732719
47.743111644
54.250490677
238.960421159
9.658317139
229.406742387
401.030927835
94.272139955
168.031482517
27.933862277
9.301815790
994.525761124
34.020670659
107.3754...

result:

ok 89 numbers

Test #85:

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

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.222760291
70.745277619
701.257396450
381.585477341
115.537911870
1229.015612596
73.678420258
194.312817617
82.359879277
3564.458272328
363.859860665
40.893335716
55.053161407
126.003300813
119.559710189
14.811419912
50.189325277
280.350974709
34.404065703
345.515498980
465.988181221
51.74621073...

result:

ok 65 numbers

Test #86:

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

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.593289780
14.388361347
56.087913065
1116.282339708
423.946818046
8.407214919
181.834154540
4.126116327
120.239202173
34.420581983
114.335056445
62.114850200
162.657246766
106.184713464
43.924558870
134.554893877
46.109709449
96.921021209
59.164346212
68.723752696
378.387474393
214.605387161
45.256...

result:

ok 32 numbers

Test #87:

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

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.798266472
129.352138108
114.579890996
1503.200301205
36.823681205
106.635110745
71.415165165
59.698494442
41.738669784
169.851607201
173.189423937
730.574578253
8.343059304
17.750273575
1550.690087829
52.052375495
2013.030160226
108.434676337
102.598112375
193.177639752
40113.483146067
25.5694909...

result:

ok 57 numbers

Test #88:

score: 0
Accepted
time: 4ms
memory: 3648kb

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.434986291
27.271421320
186.321265987
95.857207954
63.119098686
46.116315624
144.703245445
249.834066090
1634.150911259
12.833761565
28.569784982
67.273601759
181.259593576
30.900378522
102.921836322
326.895960737
1.442257628
113.585636042
133.942108369
198.962794778
105.689599924
107.517817982
56...

result:

ok 95 numbers

Test #89:

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

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.846112067
226.303644210
93.640146575
14.690382082
33.592679113
137.235218129
35.926901844
152.182720203
76.109660574
67.449623323
109.154037598
24.863542255
134.314915786
50.872115915
84.445581713
131.881377762
158.551709263
20.829192106
90.320505183
77.914751358
72.068536422
3.359714463
1.904678...

result:

ok 89 numbers

Test #90:

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

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.912847361
62.014279454
145.237250030
94.892593144
87.723446515
1585.441061671
62.700576822
33.792005323
104.313514483
559.117522274
2564.216972878
230.314662357
87.733648399
141.087886405
274.169397854
290.400675066
73.695211896
1058.510966945
153.412080130
13.555221406
169.438669439
229.57027337...

result:

ok 64 numbers

Test #91:

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

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.756894769
20.274388422
416.669530109
151.459575970
1873.597678917
48.307669853
113.986483892
52.346007375

result:

ok 8 numbers

Test #92:

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

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.087621770
27.114751588
58.614178522
37.232455018
50.713450928
56.335606839
26.651826726
53.543506526
154.928884987
30.633784794
168.969052946
1626.064016884
50.593650855
45.386651744
26.796593098
217.089449375
12.052857504
28.247923038
763.281649344
173.603936503
354.555348259
265.300313123
135.0...

result:

ok 51 numbers

Test #93:

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

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.415371637
188.563829787
297.062966248
107.935639451
108.769528758
1300.799806108
537.363541610
34.164621951
101.925945837
130.365461022
60.300333412
112.229054309
192.143326759
43.533178907
135.641397345
86.385814590
79.725874473
171.254567600
2577.260755048
61.379682242
457609.523809550
116.723...

result:

ok 96 numbers

Test #94:

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

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.626710045
2457.645259939
104.193598751
90.325359118
2.772947744
103.595361143
1344.228855721
41.155960842
9.658940552
220.480796997
1775.623800384
59.297372921
10.780919588
96.304608965
130.155185527
209.124219997
125.472299721
124.897691930
238.642529473
17.716517344
115.349411926
56.315548780
8...

result:

ok 29 numbers

Test #95:

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

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.048365101
79.133141035
43.105228300
12.995680410
26.259034071
79.898396363
64.624124073
168.809366026

result:

ok 8 numbers

Test #96:

score: 0
Accepted
time: 4ms
memory: 3544kb

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.606302824
129.427598099
1105.530139935
83.440818737
100.255812514
66.518247264
66.757745461
30.978127734
13.731690474
244.218450461
104.567921216
7.067059690
1621.522177419
3295.034988337
291.683119447
2.969430816
147.090111668
16722.950819672
74.048792820
10.474979277
39.741545848
283.061379136
...

result:

ok 61 numbers

Test #97:

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

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.069680765
97.984040319
56.279694953
21.808683992
5.797377932
66.267832490
219.913627639
79.380937218
95.602746053
1172.221240502
374.327640607
73.221207182
85.192582026
38.508678945
10.416466288
146.173762946
18.534279833
198.928470054
27.358637752
18.751450004
85.065196935
21.612083248
8.8326927...

result:

ok 67 numbers

Test #98:

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

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.274266114
2.736983474
899.702300406
39.186463132
130.605089538
32.598543110
98.794460809
80.763680764
485.436006696
70.776365879
97.059495261
131.417383262
128.753827917
103.711681135
72.168311517
87.688492215
78.218623482
156.609354386
9.911597392
63.490335306
67.015236384
30.849358974
28.0359332...

result:

ok 41 numbers

Test #99:

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

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.863310890
3.532408718
16.303621170
168.596224061
381.673044726
59.308482320
49.793519695
1453.144048765
2602.697556331
85.667643858
98.923309607
100.147810446
153.460475142
244.548264718
93.791574279
150.210871603
29.621334016
43.877653017
47.620406814
26.690488086
33.604321030
476.058376553
340...

result:

ok 43 numbers

Test #100:

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

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.214132456
53.648517630
7.970867334
184.116777723
96.555433990
177.226899491
8.017068916
133.213735506
866.401288977
47.311643490
148.386428679
20.551989416
157.839526839
398.837625179
56.132834663
10384.835164835
30.022046842

result:

ok 17 numbers

Test #101:

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

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.175162025
0.097482039
0.121483065
0.333022512
0.165886998
0.124669625
0.232433814
0.179468772
0.181169266
0.142724613
0.169770640
6.531678641
0.106927856
0.182671757
0.208715979
0.135644719
0.474946569
0.103849709
0.096340970
0.455331937
0.656900742
0.238288138
0.142395375
0.168438074
0.232986184
...

result:

ok 10000 numbers