QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#507505#2597. Yellow Blue BusNemesis (Zonghan Yang, Mingchi Zhang, Jianjun Zhang)AC ✓2867ms8252kbC++203.9kb2024-08-06 18:38:282024-08-06 18:38:29

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3880kb

input:

3
3
3 1
1 3
4 5
3
3 3
4 3
3 4
2
0 0
-1 -1
2
1 1
2 2
4
2 0
0 2
-2 0
0 -2
4
1 0
0 1
-1 0
0 -1

output:

1.618639490
3.100001722 3.100001722
1555634917.903293256
1099999999.999996806 1099999999.999996806
1.581138489
0.000001079 0.000001079

result:

ok great!!

Test #2:

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

input:

20
4
-10 17
3 12
-10 2
-6 1
3
0 9
-8 12
-7 10
2
-8 -14
-11 0
2
-3 -7
-7 -6
3
-9 -4
-3 -1
-8 -5
2
-4 -7
-1 -11
5
7 -10
0 1
12 -9
11 -11
2 -2
6
6 -1
2 -8
2 -4
4 -9
2 -6
9 -7
3
6 -5
6 -10
-5 -7
5
1 -12
4 -9
4 -10
-1 -7
0 -3
4
15 -10
16 6
16 -3
16 12
2
4 -4
6 -5
5
-11 12
-8 1
2 2
-12 2
-11 2
4
-7 5
-2 6...

output:

7.231128357
-5.361699751 9.659569895
1124971663.360357655
1099999999.999996806 235714280.750002735
1408687326.363088193
879999992.099995869 -1099999999.999996806
4.635561752
5.514927950 -5.365669604
5.198826035
0.767324817 -7.470294232
1101135788.184385456
-1099999999.999996806 50000001.704545968
7....

result:

ok great!!

Test #3:

score: 0
Accepted
time: 2011ms
memory: 7900kb

input:

1
50000
1103011 743586
650627 643609
970000 123316
790590 150802
1154937 704849
600584 388352
1261556 503381
-247327 779259
885037 123752
-873238 829673
789997 151071
609342 354879
1112348 175187
1125683 728576
1090245 750934
1015586 780780
1256018 379954
605695 367172
1161310 698906
598628 514319
1...

output:

223749.555930763
929226.777799157 456454.217539762

result:

ok great!!

Test #4:

score: 0
Accepted
time: 2043ms
memory: 3888kb

input:

994
43
-200812374 406040944
-192051495 335316832
4248563 336932215
-211869114 185643553
-146681423 169300853
-65919586 154922121
11694954 157988444
-205424679 329992943
17743449 268746156
-217247848 202798048
-181372096 188686449
-32199692 191323755
-152118543 195019764
-154351058 161314920
-1955481...

output:

101354663.103337666
-100106617.336697372 285631768.969818581
182051405.955964044
172245470.379469460 -198703656.067234524
258847728.676018666
-80596674.350084325 -243573821.470073619
207262357.601433215
-7413102.572103094 -129482972.755596764
4150325.466623990
246008779.933752200 -117564885.34899242...

result:

ok great!!

Test #5:

score: 0
Accepted
time: 2018ms
memory: 7928kb

input:

1
50000
1369544 944545
1301229 245844
1318404 1020123
784780 1247169
1415143 844892
311849 936426
363283 1014676
1440328 537655
1351887 313176
241560 564001
1175588 1150653
1229610 1110792
1162450 1159027
688965 56588
276494 -541566
262990 821136
585119 94243
400759 228080
253395 786133
253448 78635...

output:

606323.754681499
842977.105216847 643339.289507835

result:

ok great!!

Test #6:

score: 0
Accepted
time: 216ms
memory: 4096kb

input:

2
4239
-200812530 406040789
-192051651 335316677
4248407 336932060
-211869270 185643398
-146681579 169300698
-65919742 154921966
11694798 157988289
-205424835 329992788
17743293 268746001
-217248004 202797893
-181372252 188686294
-32199848 191323600
-152118699 195019609
-154351214 161314765
-1955482...

output:

100636921.922271401
-99568424.401375010 284967057.727812705
168957064.527103696
-227022081.249832056 -244047267.432198190

result:

ok great!!

Test #7:

score: 0
Accepted
time: 785ms
memory: 5004kb

input:

2
21192
-50327 90950
27773 155351
-166012 178205
-104231 282888
-155762 144414
-157420 147825
-12901 105101
1083 264227
-31507 284044
-64528 290284
-65882 89658
-57340 289893
-149405 133659
-21949 100034
-156160 145205
24735 231954
-85767 91547
6196 259238
33935 189086
10330 254628
15629 247758
-495...

output:

100321.215624173
-66383.468523369 189978.740617142
129687.254105944
-29249.501949653 160357.144314608

result:

ok great!!

Test #8:

score: 0
Accepted
time: 1691ms
memory: 4232kb

input:

9
4239
-336 551
-317 391
128 395
-362 53
-214 16
-31 -17
145 -10
-347 379
159 241
-374 92
-292 60
45 66
-226 74
-231 -2
-325 582
-370 492
-232 577
-272 81
-326 185
-151 55
-34 -7
-400 454
-114 555
-346 410
-115 534
-238 566
-21 505
159 128
-230 -18
-55 49
-383 566
160 77
112 16
-303 428
-342 406
-34...

output:

233.420278224
-99.724816652 284.803962525
265.200695369
-279.012283610 71.472109934
269.366622938
-188.027542406 -182.983706417
200.602840352
49.948786382 100.826189606
245.163235221
53.332812603 104.125774298
294.456504436
226.017356033 -103.865260643
295.011171920
-65.665339656 -185.346606554
227....

result:

ok great!!

Test #9:

score: 0
Accepted
time: 913ms
memory: 5024kb

input:

3
5
-973 1671
-919 1237
284 1247
-1041 320
-641 220
10865
-79 948
-855 1240
-739 1000
-429 540
-92 905
-590 1050
-361 1332
-505 974
-16 496
-265 1433
-207 1110
-467 491
-64 773
-320 1507
181 1314
-201 370
-852 619
-817 1068
-550 472
-871 778
-791 842
-9 738
-600 1360
211 1054
240 1195
191 844
-311 3...

output:

663.643818693
-314.968078899 937.409573914
921.691958303
-465.702399948 -368.968264517
1368.621161818
-47.759138668 470.321228504

result:

ok great!!

Test #10:

score: 0
Accepted
time: 431ms
memory: 4176kb

input:

1
21192
-676 1337
-647 1104
-2 1109
-713 611
-498 557
-232 510
23 520
-691 1087
43 885
-730 668
-612 621
-121 630
-516 642
-523 531
-659 1382
-725 1250
-525 1375
-582 652
-660 804
-407 614
-237 524
-769 1196
-353 1342
-690 1132
-355 1312
-533 1359
-218 1270
43 720
-521 509
-267 606
-743 1359
44 647
...

output:

333.951182556
-332.484502927 949.938841031

result:

ok great!!

Test #11:

score: 0
Accepted
time: 1402ms
memory: 5532kb

input:

2
21192
-973 1671
-919 1237
284 1247
-1041 320
-641 220
-146 131
329 150
-1001 1205
366 829
-1074 425
-854 338
60 355
-675 377
-688 171
-941 1755
-1065 1510
-691 1742
-798 396
-944 679
-471 325
-156 158
-1145 1409
-370 1680
-1000 1290
-375 1625
-706 1712
-120 1547
366 523
-685 129
-211 310
-1098 171...

output:

632.666605298
-331.911623416 950.002957725
928.674977458
-897.542713041 835.738103477

result:

ok great!!

Test #12:

score: 0
Accepted
time: 1914ms
memory: 3988kb

input:

96
425
-30498 67405
-1252 91521
-73819 100079
-50684 139280
-69980 87426
-70601 88703
-16483 72704
-11247 132292
-23451 139713
-35816 142049
-36323 66921
-33124 141903
-67600 83398
-19871 70807
-70130 87722
-2390 120207
-43770 67629
-9332 130424
1055 104154
-7784 128698
-5800 126125
-30224 141526
-3...

output:

37567.032386162
-36511.007063047 104488.304954175
15390.968591916
-16538.696729362 -66612.369281253
45827.499769674
-76725.123304372 97089.163960026
90153.625952936
15612.593507173 -72045.155587882
65611.562856306
29908.082495027 61637.079546401
43163.947546067
89836.378537904 -40486.294847244
69504...

result:

ok great!!

Test #13:

score: 0
Accepted
time: 2002ms
memory: 7760kb

input:

1
50000
-830043 -564324
-1364468 119188
-973505 571003
-1189721 468819
-929087 577500
459841 -474773
-409781 -11016
-509749 405733
-1183050 -281796
-880178 579857
-400609 43639
-465794 -151152
-1188547 469788
-1353807 199731
-1284023 364142
-1342951 -48185
-439862 -101180
-1095090 530079
-1041131 55...

output:

478847.174134229
-881377.666832348 96222.571821740

result:

ok great!!

Test #14:

score: 0
Accepted
time: 1909ms
memory: 3900kb

input:

96
425
-200812411 406040907
-192051532 335316795
4248526 336932178
-211869151 185643516
-146681460 169300816
-65919623 154922084
11694917 157988407
-205424716 329992906
17743412 268746119
-217247885 202798011
-181372133 188686412
-32199729 191323718
-152118580 195019727
-154351095 161314883
-1955481...

output:

100646531.865238331
-99240454.817302799 284788795.619857998
239462550.707868188
-79236369.043910049 254331254.024548514
55703767.755104357
66414013.930900688 -59889846.183252686
74634895.268473882
-284020360.641693393 -246280886.479999019
68994854.178358453
180249102.783146637 -269871381.628949321
1...

result:

ok great!!

Test #15:

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

input:

12504
4
-10 17
3 12
-10 2
-6 1
3
0 9
-8 12
-7 10
2
-8 -14
-11 0
2
-3 -7
-7 -6
3
-9 -4
-3 -1
-8 -5
2
-4 -7
-1 -11
5
7 -10
0 1
12 -9
11 -11
2 -2
6
6 -1
2 -8
2 -4
4 -9
2 -6
9 -7
3
6 -5
6 -10
-5 -7
5
1 -12
4 -9
4 -10
-1 -7
0 -3
4
15 -10
16 6
16 -3
16 12
2
4 -4
6 -5
5
-11 12
-8 1
2 2
-12 2
-11 2
4
-7 5
-...

output:

7.231128357
-5.361699751 9.659569895
1124971663.360357655
1099999999.999996806 235714280.750002735
1408687326.363088193
879999992.099995869 -1099999999.999996806
4.635561752
5.514927950 -5.365669604
5.198826035
0.767324817 -7.470294232
1101135788.184385456
-1099999999.999996806 50000001.704545968
7....

result:

ok great!!

Test #16:

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

input:

5
4
500000100 500000100
500000100 -500000100
-500000100 500000100
-500000100 -500000100
4
500000000 500000000
500000000 -500000000
-500000000 500000000
-500000000 -500000000
2
500000100 500000100
-500000100 -500000100
2
500000000 -500000000
-500000000 500000000
2
500000100 500000100
500000100 -50000...

output:

707106851.897229179
0.000001079 0.000001079
707106851.897228415
0.000001079 0.000001079
1118033787.503740370
-499999699.999944438 0.000001079
796782327.742055229
259674775.249770759 259674775.249770759
1187434204.493034262
-1099999999.999996806 0.000001079

result:

ok great!!

Test #17:

score: 0
Accepted
time: 2001ms
memory: 7896kb

input:

1
50000
484122 -611787
439623 -722389
-405108 -145595
-31211 37133
499727 -425767
492181 -375333
489050 -360826
89457 -980473
-239933 -15908
-458884 -730128
15168 36793
254378 -916266
275067 -903059
360672 -830774
459792 -681058
-254338 -23328
213632 -938479
363630 -125403
11547 -990011
-313021 -600...

output:

514014.763931995
-11781.479277722 -476520.793129580

result:

ok great!!

Test #18:

score: 0
Accepted
time: 2178ms
memory: 3872kb

input:

4528
10
-6 5
12 20
-34 25
-19 51
-31 17
-32 18
3 8
6 46
-1 51
-9 52
6
-10 6
-8 51
-29 16
0 8
-30 19
11 38
6
-4 -2
-18 7
-24 7
-18 -36
-41 -3
-25 7
12
-30 -34
-4 -4
-4 -25
-8 0
-20 6
-43 -17
-43 -12
-29 5
-42 -20
-33 3
-24 -36
-27 5
15
22 41
37 35
16 40
8 -1
44 22
41 30
36 0
30 39
-1 15
2 30
-1 13
0 ...

output:

23.181467437
-9.852467718 28.549939045
21.555243415
-22.471483701 -14.705320692
22.414478090
21.578269554 17.559735381
20.308662894
3.987224197 -23.003648038
25.150489881
-13.294144166 -14.600227360
27.424699668
-17.479722079 -27.662161823
26.544351750
8.776081566 -22.129771175
24.993941433
-27.0715...

result:

ok great!!

Test #19:

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

input:

1888
22
-15 13
30 51
-83 64
-47 126
-77 44
-78 46
7 21
15 115
-4 126
-23 130
-24 12
-19 130
-74 38
1 18
-78 45
29 96
-37 13
18 112
34 70
20 109
23 105
-15 129
12
-28 129
-15 14
-74 102
-31 129
-46 18
25 101
25 42
15 113
-18 129
-82 65
-82 81
-45 126
6
135 15
5 51
-10 23
136 7
63 77
110 59
36
45 74
1...

output:

58.356379438
-24.959650830 71.350091803
74.228495839
61.562960591 2.016082313
63.383335036
-52.592595396 42.147409355
50.740203053
-51.138964961 6.912606222
71.446563620
-20.541003630 -60.977247791
72.299687380
36.037423813 -75.379172823
70.017399300
60.221627370 -55.494028563
55.684697804
-16.61927...

result:

ok great!!

Test #20:

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

input:

946
43
-31 27
60 102
-166 128
-94 251
-154 89
-156 93
13 43
29 229
-9 252
-47 260
-49 25
-39 259
-147 76
2 37
-155 90
57 192
-73 27
35 224
67 141
40 218
46 210
-30 258
-58 259
-29 27
-149 206
-64 259
-94 34
51 203
51 82
31 228
-35 259
-166 129
-165 164
-91 253
-163 111
-113 242
-61 26
-77 257
66 162...

output:

116.739286128
-49.822904471 142.454544245
121.567518637
44.988798828 -50.669042912
114.518271766
-93.146700320 -141.180220651
137.034511400
64.993467882 -145.915053158
103.986716636
97.832295167 48.620815661
110.994923799
-139.741093654 86.535635639
116.781649973
-19.810785123 71.744106631
123.03697...

result:

ok great!!

Test #21:

score: 0
Accepted
time: 1975ms
memory: 3872kb

input:

502
86
-62 54
120 204
-332 257
-188 502
-308 178
-312 186
25 87
58 458
-18 504
-95 519
-98 51
-78 518
-293 153
4 75
-309 180
113 383
-145 55
70 447
134 282
80 436
92 420
-60 516
-116 518
-59 54
-297 411
-127 517
-187 68
101 406
101 164
62 455
-71 517
-332 259
-330 328
-181 505
-325 222
-225 483
-122...

output:

233.486256711
-99.545367786 285.015497474
221.022906376
-6.873670648 68.394654444
247.808963826
123.215373388 195.844266058
297.234812433
-2.226862556 -97.249296581
280.259416593
-286.982791464 23.399804252
259.130641034
162.826454768 12.251817399
209.186102343
-171.289242880 290.454142262
201.86500...

result:

ok great!!

Test #22:

score: 0
Accepted
time: 1956ms
memory: 3996kb

input:

191
213
-169 167
299 552
-863 689
-493 1317
-801 487
-811 507
55 251
139 1205
-56 1324
-254 1361
-262 159
-211 1359
-763 422
1 221
-804 491
281 1012
-382 170
170 1175
336 754
194 1147
226 1106
-165 1353
-306 1360
-163 168
-772 1083
-335 1357
-490 202
249 1071
250 451
148 1196
-194 1357
-863 693
-857...

output:

600.638165971
-265.587923012 759.946825816
767.520731382
-30.053967912 276.087809305
638.779959561
-190.442067551 196.443612217
705.700603770
-45.439567967 -559.203209803
514.836245202
-71.461562388 -170.631988895
796.611586970
285.401622764 -165.707073600
727.580104071
-336.325226631 65.700403821
6...

result:

ok great!!

Test #23:

score: 0
Accepted
time: 1918ms
memory: 3988kb

input:

93
425
-310 272
599 1021
-1658 1287
-939 2507
-1539 894
-1558 934
125 436
288 2290
-91 2520
-476 2593
-492 257
-392 2588
-1465 769
20 377
-1543 903
563 1914
-724 279
347 2232
670 1414
396 2178
457 2098
-302 2577
-576 2590
-298 274
-1483 2053
-632 2585
-935 341
502 2029
504 824
306 2273
-358 2585
-16...

output:

1167.700526172
-497.826883425 1424.818807131
1447.779604523
-883.367839435 839.366814141
1137.341487586
1305.264181731 -1027.660423455
1347.738324620
432.861867642 1290.512948789
1150.312309628
-1324.462446521 -721.555079929
1462.860814538
-1195.400576980 985.200233957
1005.078602946
1283.280166431 ...

result:

ok great!!

Test #24:

score: 0
Accepted
time: 1972ms
memory: 3908kb

input:

50
849
-621 544
1197 2043
-3316 2575
-1877 5013
-3077 1788
-3116 1868
250 873
575 4579
-183 5040
-952 5185
-984 514
-785 5176
-2929 1538
39 755
-3086 1807
1126 3827
-1447 558
694 4463
1340 2828
791 4355
914 4195
-604 5153
-1152 5180
-597 548
-2965 4106
-1264 5170
-1869 683
1004 4058
1008 1648
612 45...

output:

2335.470129731
-995.771542435 2849.683700147
2509.386151585
162.639976923 -1655.796741916
2805.191963405
2329.302037497 2873.212370976
2651.201826744
-1882.847342339 -329.950530968
2500.052221709
1967.656628040 2509.251984769
2323.315713585
2558.837943991 172.888429740
2483.489545423
2827.141837581 ...

result:

ok great!!

Test #25:

score: 0
Accepted
time: 1850ms
memory: 4044kb

input:

18
2120
-1694 1670
2982 5525
-8621 6894
-4922 13162
-8007 4871
-8106 5075
547 2517
1384 12045
-567 13231
-2544 13605
-2625 1592
-2113 13582
-7626 4227
6 2214
-8031 4918
2801 10113
-3816 1705
1691 11746
3351 7545
1938 11470
2255 11059
-1650 13521
-3058 13593
-1631 1680
-7720 10829
-3344 13566
-4899 2...

output:

6006.428828494
-2655.356556794 7599.146622797
6502.485497865
-3302.447207050 437.170450255
7060.440054928
7864.943659504 -550.486999274
6414.384304106
2230.802839263 -1584.670198465
6671.690054941
6677.709717387 340.924953767
6897.357062451
-840.406332828 -2154.343990612
7347.643279899
5628.05213798...

result:

ok great!!

Test #26:

score: 0
Accepted
time: 1604ms
memory: 4372kb

input:

10
4239
-3109 2721
5981 10217
-16576 12878
-9385 25063
-15383 8944
-15576 9341
1247 4368
2875 22891
-919 25198
-4762 25924
-4920 2571
-3926 25879
-14643 7692
194 3778
-15429 9036
5628 19135
-7235 2791
3470 22311
6699 14144
3951 21774
4568 20974
-3024 25762
-5760 25900
-2988 2741
-14825 20528
-6318 2...

output:

11677.388630600
-4978.773012362 14248.421469793
14310.901094061
8169.225988622 -2526.404159965
10875.836587412
13838.832003626 -14707.758583588
10374.366544589
4860.672208288 11537.848805915
11331.539457766
-6874.510456841 -4115.165641661
13962.134416832
7650.305389443 11458.465447457
10517.04011520...

result:

ok great!!

Test #27:

score: 0
Accepted
time: 1663ms
memory: 5524kb

input:

4
8477
-6219 5443
11962 20435
-33151 25756
-18769 50126
-30765 17889
-31151 18683
2494 8737
5749 45782
-1838 50395
-9525 51848
-9840 5142
-7852 51757
-29285 15385
387 7557
-30858 18073
11255 38269
-14470 5582
6939 44621
13397 28289
7902 43548
9135 41948
-6049 51523
-11520 51800
-5977 5483
-29649 410...

output:

23354.772098097
-9957.539598497 28496.822292925
25826.213983632
28101.957344569 -8402.845973955
20485.099633317
-29083.425101471 -5125.998755218
23052.729028205
26853.818860590 -8989.082442582

result:

ok great!!

Test #28:

score: 0
Accepted
time: 1216ms
memory: 5288kb

input:

2
21192
-16940 16701
29820 55259
-86203 68942
-49213 131618
-80066 48711
-81059 50753
5468 25174
13840 120445
-5672 132310
-25442 136046
-26253 15927
-21138 135812
-76260 42271
51 22140
-80305 49184
28001 101123
-38159 17058
16901 117458
33509 75457
19377 114698
22549 110585
-16502 135209
-30571 135...

output:

60064.328398105
-26553.433995121 75991.528079688
56791.745883448
-65016.138868117 -71407.096999207

result:

ok great!!

Test #29:

score: 0
Accepted
time: 968ms
memory: 4912kb

input:

2
20768
-15655 14263
29282 51318
-82218 64468
-46670 124700
-76320 45025
-77274 46988
5879 22406
13925 113963
-4827 125365
-23826 128955
-24605 13520
-19690 128730
-72663 38837
673 19490
-76549 45480
27534 95394
-36047 14607
16867 111092
32827 70728
19246 108440
22294 104487
-15234 128151
-28755 128...

output:

57722.416531263
-24893.844074042 71242.053231222
56864.072302583
-43389.297230294 -32830.007538054

result:

ok great!!

Test #30:

score: 0
Accepted
time: 2449ms
memory: 3812kb

input:

8287
5
-30603 68054
-1870 91748
-73166 100156
-50436 138671
-69394 87724
3
-70003 88980
-16835 73262
-11690 131804
4
-110669 -1068
-108648 -1601
-110776 -885
-107908 491
2
-109659 -1735
-108202 922
5
-79717 -73543
-79015 -79400
-82009 -74901
-79858 -73556
-80623 -79230
4
-76992 -74963
-76987 -78008
...

output:

36909.076461365
-36511.145192557 104488.335990829
1590.193473030
-109352.655943346 -175.005377807
1107952568.571138713
1099999999.999996806 131775281.092110233
77735.793994536
61364.933177133 97680.484961875
79386.111965860
51792.269753063 74527.939509947
71420.957129992
-83613.945089151 -106532.149...

result:

ok great!!

Test #31:

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

input:

947
43
-30594 67995
-1814 91727
-73225 100149
-50458 138726
-69448 87697
-70059 88954
-16802 73210
-11649 131849
-23659 139152
-35827 141452
-36326 67519
-33178 141307
-67105 83734
-20136 71343
-69594 87989
-2933 119957
-43654 68215
-9765 130011
457 104159
-8241 128312
-6289 125781
-30324 140937
-38...

output:

36968.893594742
-36510.793513070 104488.241223899
47993.476900423
32834.749054895 -37070.034008169
16336.589612408
-4884.874254547 82217.782207669
68944.233581470
-18993.949899584 96555.516418034
56019.944523495
94751.403818799 -41834.120796402
51156.161076453
-101136.134508187 -14704.182227286
8876...

result:

ok great!!

Test #32:

score: 0
Accepted
time: 1815ms
memory: 4608kb

input:

9
4239
-29541 61501
4361 89457
-79758 99377
-52940 144819
-75309 84709
-76029 86190
-13295 67644
-7225 136718
-21371 145320
-35705 148029
-36293 60941
-32585 147859
-72549 80041
-17222 65445
-75482 85053
3042 122709
-44925 61761
-5005 134553
7036 104101
-3211 132552
-910 129570
-29223 147423
-39424 ...

output:

43547.756879481
-36510.967751576 104488.352480345
52940.684757417
75769.965856930 78569.104353622
23062.016955706
-10860.949304721 -7895.105199477
99935.936286896
-66079.212075661 98379.800475114
80066.215816726
-35229.535046031 100771.518194352
92154.381747437
101761.896244943 78562.847739683
64331...

result:

ok great!!

Test #33:

score: 0
Accepted
time: 2487ms
memory: 3940kb

input:

8287
5
-139113042 309370457
-8528956 417049660
-332538665 455261933
-229239155 630291568
-315399168 398763535
3
-318172196 404467105
-76536064 333032121
-53154543 599089955
4
-503000934 -4828158
-493874781 -7235778
-503484606 -4001422
-490532101 2209963
2
-498444243 -7843465
-491859564 4163536
5
-36...

output:

167738789.733760657
-165958942.637506950 474947040.476504728
7183279.381417239
-497056404.269484442 -795529.988639519
1470007658.230259776
1099999999.999996806 -172795844.844169179
353331110.620881852
278931037.628931345 444001709.006416026
360832413.926830489
235420771.643167108 338760641.403354907...

result:

ok great!!

Test #34:

score: 0
Accepted
time: 2033ms
memory: 3956kb

input:

999
43
-139113033 309370398
-8528900 417049639
-332538724 455261926
-229239177 630291624
-315399221 398763508
-318172281 404467065
-76536013 333032041
-53154479 599090025
-107646089 632223672
-162856762 642657219
-165120509 307210270
-150838107 642002983
-304771378 380779980
-91663936 324558945
-316...

output:

167738849.405588029
-165958942.515101936 474947041.077535505
217898147.538437463
149248404.730219282 -168498752.540603315
73869142.956495146
-22203206.253084680 373717543.594724310
313212733.845415219
-86336518.408385595 438888520.015675128
254412737.876237925
430688085.326705799 -190155301.32144915...

result:

ok great!!

Test #35:

score: 0
Accepted
time: 1849ms
memory: 4044kb

input:

93
425
-139112937 309369808
-8528338 417049433
-332539318 455261856
-229239403 630292178
-315399754 398763236
-318172824 404466814
-76535694 333031535
-53154077 599090468
-107645881 632224233
-162856751 642657817
-165120506 307209672
-150838053 642003579
-304771873 380779645
-91663671 324558409
-316...

output:

167739447.630786832
-165958942.503728543 474947041.058218458
98609005.984286326
257338799.900332867 -75175806.710925591
203030958.038858430
-165231043.649412383 -463429705.610583463
176827051.800885782
87468801.618441958 -210522102.656356746
369783466.787245682
-357940964.522398711 450014571.3875803...

result:

ok great!!

Test #36:

score: 0
Accepted
time: 1403ms
memory: 4564kb

input:

7
4239
-139111980 309363904
-8522725 417047368
-332545258 455261154
-229241659 630297716
-315405082 398760520
-318178251 404464301
-76532506 333026475
-53150055 599094894
-107643801 632229840
-162856640 642663797
-165120476 307203691
-150837514 642009535
-304776822 380776287
-91661022 324553046
-316...

output:

167745428.317461460
-165958942.482551291 474947041.061868319
349672872.910028630
478175420.162049461 -362159983.598320262
497449051.533756052
293946086.777768129 -208978647.608083386
139846212.045498090
34625767.091255312 180676747.622537820
283344904.382710334
-124248162.784502536 -269090506.834964...

result:

ok great!!

Test #37:

score: 0
Accepted
time: 647ms
memory: 4636kb

input:

1
21192
-139107726 309337666
-8497778 417038194
-332571655 455258035
-229251687 630322333
-315428763 398748448
-318202372 404453132
-76518335 333003987
-53132179 599114566
-107634561 632254763
-162856149 642690373
-165120343 307177110
-150835117 642036008
-304798819 380761365
-91649249 324529215
-31...

output:

167772009.219642001
-165958942.487566243 474947041.060460667

result:

ok great!!

Test #38:

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

input:

992
43
-139113033 309370398
-8528900 417049639
-332538724 455261926
-229239177 630291624
-315399221 398763508
-318172281 404467065
-76536013 333032041
-53154479 599090025
-107646089 632223672
-162856762 642657219
-165120509 307210270
-150838107 642002983
-304771378 380779980
-91663936 324558945
-316...

output:

167738849.346681648
-165958942.536154988 474947041.079778934
28806128.479211894
-342162136.525039802 -107368053.321179993
21998928.787275411
-213524081.478735643 185796087.255332405
200302907.210910753
195982132.289203438 212792705.497286892
488878594.176402913
-67051693.528051546 -303258894.0973201...

result:

ok great!!

Test #39:

score: 0
Accepted
time: 1027ms
memory: 3936kb

input:

100
425
-139112937 309369808
-8528338 417049433
-332539318 455261856
-229239403 630292178
-315399754 398763236
-318172824 404466814
-76535694 333031535
-53154077 599090468
-107645881 632224233
-162856751 642657817
-165120506 307209672
-150838053 642003579
-304771873 380779645
-91663671 324558409
-31...

output:

167739447.388663387
-165958942.408924115 474947041.055819790
263917896.776770244
-267499012.064938547 62405704.126282661
149286520.354629409
402880502.885716847 -219639568.881202957
300768000.139619503
-319324752.063571485 130145382.407705201
388765108.306024484
249463252.308855960 466677282.9306005...

result:

ok great!!

Test #40:

score: 0
Accepted
time: 943ms
memory: 3896kb

input:

8
4239
-139111980 309363904
-8522725 417047368
-332545258 455261154
-229241659 630297716
-315405082 398760520
-318178251 404464301
-76532506 333026475
-53150055 599094894
-107643801 632229840
-162856640 642663797
-165120476 307203691
-150837514 642009535
-304776822 380776287
-91661022 324553046
-316...

output:

167745427.922186556
-165958942.543754785 474947041.133117973
41569061.179629431
403464089.241989490 -176133769.631865775
310025801.177300916
364792229.562419319 -141252429.766089366
452823948.708370983
60876201.898765476 -496813122.170775494
232034802.382287579
-209837558.856091834 136017842.2411908...

result:

ok great!!

Test #41:

score: 0
Accepted
time: 429ms
memory: 4128kb

input:

1
21192
-139107726 309337666
-8497778 417038194
-332571655 455258035
-229251687 630322333
-315428763 398748448
-318202372 404453132
-76518335 333003987
-53132179 599114566
-107634561 632254763
-162856149 642690373
-165120343 307177110
-150835117 642036008
-304798819 380761365
-91649249 324529215
-31...

output:

167772008.704345505
-165958942.417100978 474947040.913175644

result:

ok great!!

Test #42:

score: 0
Accepted
time: 1176ms
memory: 3856kb

input:

962
43
-45 58
59 143
-200 174
-117 314
-186 129
-188 133
5 76
24 289
-19 316
-63 324
-65 56
-54 323
-177 115
-7 70
-186 130
55 246
-93 58
31 283
68 188
36 277
43 267
-44 322
-76 324
-43 58
-179 262
-82 323
-117 66
48 260
49 121
26 287
-50 323
-200 175
-198 215
-113 316
-196 154
-138 303
-79 57
-98 3...

output:

133.046262249
-66.634961738 189.685754248
105.194647727
-136.343836358 -42.289382276
106.571094996
-182.122794548 -174.793073217
139.956174656
78.312799599 85.065446152
197.665351281
-26.910440150 -121.254737847
169.736243353
167.826605156 -31.787399831
181.690515755
157.217475656 -149.470480526
156...

result:

ok great!!

Test #43:

score: 0
Accepted
time: 1031ms
memory: 3864kb

input:

103
425
-450 581
590 1438
-1991 1743
-1168 3137
-1854 1293
-1876 1338
49 769
235 2889
-199 3152
-639 3236
-657 564
-543 3230
-1770 1150
-72 702
-1859 1303
550 2459
-922 589
303 2822
672 1887
358 2761
428 2669
-440 3217
-754 3233
-436 583
-1790 2618
-817 3227
-1163 660
480 2591
482 1213
256 2869
-504...

output:

1335.169077116
-664.076162131 1899.833126624
1217.571847726
-381.000460391 773.205449154
1503.449131455
-1000.173619615 -1553.341435197
1722.043073306
282.941319847 -509.062810327
1134.834040537
-1532.752819868 -517.780027259
1367.901586821
-406.549093609 -1424.068764558
1576.550865041
457.770112226...

result:

ok great!!

Test #44:

score: 0
Accepted
time: 915ms
memory: 4252kb

input:

9
4239
-4500 5815
5896 14388
-19901 17430
-11677 31366
-18537 12932
-18758 13386
482 7699
2343 28882
-1995 31520
-6391 32351
-6571 5643
-5434 32299
-17691 11500
-723 7024
-18590 13037
5492 24586
-9219 5894
3024 28218
6716 18879
3574 27604
4280 26690
-4403 32165
-7532 32323
-4362 5838
-17899 26179
-8...

output:

13354.156789782
-6637.815206956 18998.029063039
11644.735682515
-8324.222186040 3922.012409047
11815.476418750
18656.886161626 9304.565768286
12496.968543773
-16886.379437625 -12989.187880477
19298.611442368
-3186.887566975 -15982.526584986
12636.746873555
-19047.924467229 -315.304597486
10780.31674...

result:

ok great!!

Test #45:

score: 0
Accepted
time: 1157ms
memory: 3808kb

input:

996
5
-139113033 309370398
-8528900 417049639
-332538724 455261926
-229239177 630291624
-315399221 398763508
23
-318172250 404467080
-76536032 333032071
-53154502 599089999
-107646101 632223639
-162856764 642657185
-165120510 307210304
-150838111 642002949
-304771349 380780000
-91663952 324558976
-3...

output:

167738849.651956101
-165958942.373831209 474947040.987031281
366190958.773500244
-379218366.333143319 -481016724.831615041
73386854.878539143
469581988.242801726 -416018930.154921481
244245852.819874898
275437051.937000977 -113358073.474956815
163987874.012668945
-303258893.606585086 477757184.77876...

result:

ok great!!

Test #46:

score: 0
Accepted
time: 999ms
memory: 3932kb

input:

101
5
-139112937 309369808
-8528338 417049433
-332539318 455261856
-229239403 630292178
-315399754 398763236
219
-318172792 404466829
-76535713 333031565
-53154100 599090442
-107645893 632224200
-162856753 642657783
-165120507 307209706
-150838057 642003544
-304771844 380779665
-91663687 324558440
-...

output:

167739448.168823020
-165958942.083345635 474947041.456018436
463976432.584029153
-164565262.041562781 -389363620.538583547
242720631.393073843
417846132.768090823 -129022697.152501040
137186733.830348329
363911683.116269993 132942711.849623861
78736081.411518912
174115126.927025601 230546727.5518118...

result:

ok great!!

Test #47:

score: 0
Accepted
time: 970ms
memory: 4128kb

input:

10
5
-139111980 309363904
-8522725 417047368
-332545258 455261154
-229241659 630297716
-315405082 398760520
2174
-318178220 404464316
-76532525 333026505
-53150078 599094868
-107643814 632229808
-162856642 642663763
-165120477 307203726
-150837518 642009501
-304776793 380776307
-91661038 324553078
-...

output:

167745428.787994693
-165958942.290069115 474947040.710502437
277748327.689476522
-147481327.182825184 -372634689.625501587
141798572.332593766
-353351881.712911559 332273859.206209844
159364281.725228764
-327674220.008726088 368721153.918558261
202517943.520887713
-91385546.009762293 95409473.815604...

result:

ok great!!

Test #48:

score: 0
Accepted
time: 528ms
memory: 4524kb

input:

2
5
-139107726 309337666
-8497778 417038194
-332571655 455258035
-229251687 630322333
-315428763 398748448
10865
-318202340 404453147
-76518354 333004016
-53132202 599114541
-107634574 632254731
-162856150 642690339
-165120344 307177145
-150835122 642035973
-304798790 380761385
-91649265 324529246
-...

output:

167772009.434010677
-165958942.460301129 474947041.103858584
150270559.745400912
36531965.489041170 163866158.341295140

result:

ok great!!

Test #49:

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

input:

966
5
-45 58
59 143
-200 174
-117 314
-186 129
23
-187 134
4 77
23 288
-20 315
-64 323
-66 57
-55 322
-176 116
-8 71
-185 131
54 245
-92 59
30 282
67 189
35 276
42 266
-45 321
-75 323
-44 59
-178 261
-81 322
-116 67
47 259
3
-323 -161
-212 -29
-319 -239
35
-244 -47
-167 -364
-191 -24
19 -165
-283 -8...

output:

133.669912194
-66.521248511 190.072147389
173.875385262
-151.195113481 -192.241065539
104.386343318
-166.305294159 -141.378182559
148.231377163
-177.950462624 171.374355583
143.590260851
90.393036674 -188.963341316
144.442918405
-0.259948795 -14.305041660
169.715207913
156.365360860 127.041496813
17...

result:

ok great!!

Test #50:

score: 0
Accepted
time: 995ms
memory: 3852kb

input:

101
5
-450 581
590 1438
-1991 1743
-1168 3137
-1854 1293
219
-1875 1339
48 770
234 2888
-200 3151
-640 3235
-658 565
-544 3229
-1769 1151
-73 703
-1858 1304
549 2458
-921 590
302 2821
671 1888
357 2760
427 2668
-441 3216
-753 3232
-437 584
-1789 2617
-816 3226
-1162 661
479 2590
481 1214
255 2868
-5...

output:

1335.698575426
-663.827226207 1899.837026393
1446.232145125
-1557.225923030 1711.806691386
1479.611379030
-1124.684672244 -1111.752825740
1160.331375696
1616.486887309 -1883.105846031
1882.439843936
1985.970992046 362.985132036
1134.932434069
-1401.252071377 1863.347549665
1978.822727496
1481.729189...

result:

ok great!!

Test #51:

score: 0
Accepted
time: 912ms
memory: 4232kb

input:

7
5
-4500 5815
5896 14388
-19901 17430
-11677 31366
-18537 12932
2174
-18757 13387
481 7700
2342 28881
-1996 31519
-6392 32350
-6572 5644
-5435 32298
-17690 11501
-724 7025
-18589 13038
5491 24585
-9218 5895
3023 28217
6715 18880
3573 27603
4279 26689
-4404 32164
-7531 32322
-4363 5839
-17898 26178
...

output:

13354.935520310
-6638.300858668 18997.931847773
10404.669522593
-15474.346228449 -950.159488282
18088.193859984
-1302.206799516 1547.021640478
12957.755949286
-11134.554222987 -12475.582504169
12465.458060508
-11184.339528741 -5307.975336087
13854.010729708
-19287.378931598 15883.106071714
12293.236...

result:

ok great!!

Test #52:

score: 0
Accepted
time: 783ms
memory: 4952kb

input:

2
5
-50327 90950
27773 155351
-166012 178205
-104231 282888
-155762 144414
10865
-157419 147826
-12902 105102
1082 264226
-31508 284043
-64529 290283
-65883 89659
-57341 289891
-149404 133660
-21950 100035
-156159 145206
24734 231953
-85766 91548
6195 259237
33934 189087
10329 254627
15628 247757
-4...

output:

100321.940552238
-66383.302907869 189978.925618553
54568.671660027
116428.351549998 67744.405786045

result:

ok great!!

Test #53:

score: 0
Accepted
time: 2407ms
memory: 3852kb

input:

8308
5
-3 2
6 10
-17 12
-10 26
-16 8
3
-15 10
1 5
2 22
4
-24 -6
-10 -10
-24 -5
-5 5
2
-16 -9
-8 6
5
-12 0
-9 -21
-20 -4
-13 0
-15 -20
4
-3 -6
-3 -15
-4 -4
-10 -1
6
1 25
7 -1
5 27
22 16
-2 23
-5 17
8
21 14
8 26
17 23
6 26
1 3
21 15
19 20
16 3
9
-6 5
18 19
21 12
21 6
-4 1
1 -3
21 14
16 -1
13 -3
2
16 1...

output:

11.399560988
-5.248088917 13.896944578
9.865515553
-14.400001187 -0.219999230
1111167808.694791444
1099999999.999996806 157142848.142855971
13.327010354
8.458045550 13.402094875
13.516563450
6.970801814 10.335762787
13.340527460
-11.587785599 -14.488549078
10.321276464
7.620821830 -8.361180096
10.57...

result:

ok great!!

Test #54:

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

input:

956
43
-27 41
-25 28
13 28
-29 -1
-16 -5
-1 -7
14 -7
-28 27
16 15
-30 2
-23 -1
6 0
-17 0
-18 -6
-26 44
-30 36
-18 44
-21 1
-26 10
-11 -1
-32 33
-8 42
-28 29
-8 40
-18 43
16 5
-18 -7
-3 -2
-31 43
16 1
12 -5
-24 31
-27 29
-28 5
19 26
18 -1
3 -7
12 10
-32 21
12 43
-8 -3
15 -5
1 -2
23
-14 21
-11 35
-10 ...

output:

19.659013447
-6.967394535 18.826082828
20.413374314
-1.503749952 5.957789121
20.058182705
-8.227078586 -3.078892314
20.105278052
9.626985805 4.092062453
19.919739949
-2.003048736 -5.292679914
20.766197620
7.350219173 3.610135388
17.161719508
13.264715555 6.794108666
20.092850248
-15.453512291 -3.968...

result:

ok great!!

Test #55:

score: 0
Accepted
time: 2002ms
memory: 7796kb

input:

1
50000
-188974988 196255668
-206473841 657957641
-724203935 198709341
-368631094 82081268
-445459682 763530309
-128303506 -365850425
-673902510 148464674
-225403565 676124403
-763352317 258488646
-160867477 235404685
-373752064 80794681
-240901517 82584640
-749392258 233949229
-800935049 443516700
...

output:

346341075.579321402
-455581587.875831345 417333672.940839720

result:

ok great!!

Test #56:

score: 0
Accepted
time: 2017ms
memory: 7844kb

input:

1
50000
49544 -81804
18188 -89705
86899 64349
38784 -33146
92045 -11410
-20979 -45532
72812 -19529
-98110 79689
-36588 88444
59884 -64804
50108 -99453
7990 -89202
-33660 83792
5587 70762
-134796 7497
-123255 56043
-69302 -57422
67956 69254
-131249 39725
34897 22114
-31387 82811
-52951 -90255
-117140...

output:

73575.932959688
-61684.172995569 15760.423399443

result:

ok great!!

Test #57:

score: 0
Accepted
time: 2017ms
memory: 7840kb

input:

1
50000
24171706 -20380461
27775749 -13997058
26974208 -9833115
10989067 -12508760
16423885 -5557872
12074912 -9225236
12341046 -8796869
12332538 -8809717
27587272 -15308252
12518857 -8539401
11727254 -17023536
11031224 -12190717
13260543 -19269856
19942536 -21866006
13021470 -19008000
25088721 -196...

output:

8428671.801885055
19364303.748236650 -13457106.055094624

result:

ok great!!

Test #58:

score: 0
Accepted
time: 2016ms
memory: 7796kb

input:

1
50000
38469 41539
-7858 -3706
-9185 -25569
-5954 2584
99281 -56793
850 15963
112722 -13657
-9594 -16527
19046 33581
112591 -12172
95419 -61134
-9235 -11438
76487 37706
86235 32267
89067 30209
-4506 6214
68387 -77211
-9218 -25283
44393 -79114
3524 -56201
98347 -57922
79415 36313
112788 -14629
58401...

output:

61256.908479321
51639.421405241 -18286.461780353

result:

ok great!!

Test #59:

score: 0
Accepted
time: 2024ms
memory: 8252kb

input:

1
50000
386196803 430673630
-264524429 221561401
-412565836 -128479606
-163375564 140009704
-265134682 225720122
-389180698 -134542224
204641292 404521399
-190328917 142497909
184696728 -494359515
-262500264 212314147
-101676417 -443190074
-453861869 483319404
81721177 -364224698
497236769 -13351657...

output:

97954682.525397744
-167934089.104984869 237859249.662842786

result:

ok great!!

Test #60:

score: 0
Accepted
time: 2006ms
memory: 7952kb

input:

1
50000
-90990 156695
-174427 50120
-22051 28919
37376 -60759
-90336 156672
98126 -19481
-63435 151125
-107951 -9908
-174915 51935
-176747 84366
-12923 95941
-70933 -8021
-110982 -9325
-57366 148509
-55540 -2013
-18919 111101
-32795 130654
-113541 -8742
-10303 62506
-169542 37019
-23083 27279
-36511...

output:

83937.787626538
-93609.113463016 72796.844055610

result:

ok great!!

Test #61:

score: 0
Accepted
time: 2022ms
memory: 7800kb

input:

1
50000
-18712 -8365
-72462 -34547
-70184 -121537
-11980 -144632
-34238 -143170
-8585 32789
-46095 -139226
-84549 -94773
45523 -99921
41102 -109666
-5946 -9565
43311 -105301
-50292 -16113
-63759 -25342
87147 -73231
49425 -81625
18461 -133972
-9824 -144384
-4315 73516
-86218 -66404
-4778 -143530
3341...

output:

68297.898522142
-18694.177598170 -76663.771829724

result:

ok great!!

Test #62:

score: 0
Accepted
time: 2004ms
memory: 7796kb

input:

1
50000
-242298956 490004446
-156122046 604170423
51619141 658747009
230268499 222845657
9996181 -493705584
-219937008 533785710
-261905614 378379747
-171487177 184374954
-189901299 573086498
267443529 289885117
-221823120 530747588
-216159122 539617886
225411886 559090996
-51361152 654293230
-19702...

output:

273815357.333743253
11748789.552024399 387847175.858718285

result:

ok great!!

Test #63:

score: 0
Accepted
time: 2019ms
memory: 7860kb

input:

1
50000
-53772 -41067
-93468 30914
-1524 -40052
15130 68371
-90262 42686
-20734 -45497
-44568 -44078
36298 27811
-55538 -40311
-62605 -36631
-79269 61603
-82522 -18089
-36401 84819
14422 69000
27129 53938
-52767 80733
-45306 83154
35899 30526
-13397 -44159
-54927 -40579
-72325 68765
-89369 44939
-41...

output:

65626.270639416
-28817.593736773 19631.202763963

result:

ok great!!

Test #64:

score: 0
Accepted
time: 2012ms
memory: 7928kb

input:

1
50000
-5402980 -12446869
-8115040 -14090978
-9992477 -13192819
-8405047 -8577918
-9617911 -9101430
-7978698 -14096135
7460849 -9187228
-7569287 -14071285
-5167062 -11463989
-5305980 -12196939
-556234 -11215920
-8935744 -8722866
-10280335 -12818580
8209118 -15292055
-9559575 -13576925
-5873371 -131...

output:

2777277.806977234
-7941876.123463793 -11317711.192287976

result:

ok great!!

Test #65:

score: 0
Accepted
time: 2028ms
memory: 7856kb

input:

1
50000
80493 27403
-91978 134405
7363 111167
63071 60682
15450 27868
-7549 135718
40733 78461
18794 91013
7999 78364
-94474 55722
-15405 142244
99118 32793
-25799 -56080
-503 127326
-4461 54906
-77933 -69413
-70606 38574
-86101 139806
-74834 146913
-58753 35323
96916 58537
8675 106173
609 125660
-6...

output:

59102.511156706
-49119.256527490 93664.755858548

result:

ok great!!

Test #66:

score: 0
Accepted
time: 2013ms
memory: 7952kb

input:

1
50000
443476927 540172324
563637833 39143490
599589174 54725222
724845910 364702359
387524249 525926638
659676457 98419256
408514948 532844539
235184479 370796025
630069767 493940373
560922412 529301877
721094237 375316033
336677615 67522110
239391230 381783915
656684849 95548840
724642532 2022047...

output:

258726641.856174407
478969992.586708670 283761154.782669122

result:

ok great!!

Test #67:

score: 0
Accepted
time: 2023ms
memory: 7756kb

input:

1
50000
69225 106744
-79059 -19043
-34855 46928
-29472 2
-40015 7360
7747 103010
33194 110648
15542 106366
118550 55447
88607 -32571
120483 16268
100776 -21952
92177 94048
-13514 -23459
76420 103804
-98562 63577
59771 -45276
37533 111064
-72376 82901
118046 57021
-34424 15124
121589 23290
-29014 -10...

output:

79129.025163068
42908.593104953 32077.091632964

result:

ok great!!

Test #68:

score: 0
Accepted
time: 2006ms
memory: 7840kb

input:

1
50000
50761 455
-50918 -45071
-42326 -66132
-50103 -20090
56957 -59180
27367 -87254
-49725 -50109
-23824 -83679
45657 6250
571 -91463
-89343 -23937
-38879 1975
32887 -84598
-41474 -67376
-49569 -18162
21517 20520
41725 9804
58834 -54813
-42802 -65406
-46594 -58520
-12178 20109
62593 -33907
60408 -...

output:

57228.817249720
5337.149966022 -34404.017486732

result:

ok great!!

Test #69:

score: 0
Accepted
time: 2011ms
memory: 7784kb

input:

1
50000
-79235 107227
97036 -87098
-56106 -6510
-54044 -89434
82100 29592
81615 99510
83786 3450
-51125 -56438
68336 6775
65522 -43839
19240 -34200
35070 146189
-77262 17324
9888 -98151
-75861 112856
31389 -19739
-7486 153377
-36165 -50594
37089 -17325
96329 -8690
61569 -61986
-94489 -2185
-73289 -9...

output:

89610.782108213
-700.221326657 63977.983342402

result:

ok great!!

Test #70:

score: 0
Accepted
time: 2022ms
memory: 7840kb

input:

1
50000
-293685363 18679066
-441727508 32523417
-701837411 311002811
-526727839 812079529
111449957 595826570
-353813780 876243707
-285679985 -310948684
61123403 205313198
-442332374 -198098075
409585831 -49189303
123020602 123519891
-697378629 600608121
-601190163 147880924
90218735 -108548274
1308...

output:

430663870.817961496
-293843163.584086740 449558283.913541074

result:

ok great!!

Test #71:

score: 0
Accepted
time: 2001ms
memory: 7928kb

input:

1
50000
-27930 -87971
67849 62893
-81267 -299
50264 -23540
-65727 -23117
23275 -92699
32405 -37256
73769 10056
-2706 -91364
41965 -30905
63380 72389
70417 11163
54180 -40358
-65443 89853
78560 -4763
-44436 105327
63338 -6020
66236 97034
61444 -74625
-46882 104022
-90465 -19856
73261 39155
-32780 -43...

output:

80962.390927585
-7525.208812583 33222.109043987

result:

ok great!!

Test #72:

score: 0
Accepted
time: 2018ms
memory: 7796kb

input:

1
50000
-52654129 -518028022
436515423 -320195020
370219807 -459191724
193441192 51245141
-91465142 -486490245
-176528766 -168304274
440300869 -219716898
-26461609 18818900
346798765 -484327919
209407387 47356915
441484339 -229432435
327311448 -501955461
323414777 -505105338
276446797 20636416
30395...

output:

315936787.624529049
126657305.060337792 -257714124.907993960

result:

ok great!!

Test #73:

score: 0
Accepted
time: 2017ms
memory: 7740kb

input:

1
50000
-19730 -146057
31542 -71159
-68956 -157201
53698 31725
-150574 -13618
-159993 -81299
-150864 -105865
-161855 -50203
31384 -72457
10184 1598
-154148 -99106
-152280 -16911
-145264 -4947
-161767 -49366
26590 -27502
22064 -16813
-160757 -42477
-53873 -156630
-127818 14322
-65236 -157278
27173 -2...

output:

96303.724935256
-65083.620624863 -60011.927980899

result:

ok great!!

Test #74:

score: 0
Accepted
time: 2000ms
memory: 7856kb

input:

1
50000
222229598 -274046578
196370668 -276608879
224614296 -280459698
222895488 -275140480
195451489 -279812206
197571452 -274307593
199251676 -272151476
223686265 -287679954
49518549 -313060174
223893851 -277374705
224516564 -284709410
196826833 -275613941
214727210 -268295372
221143012 -291877913...

output:

14591466.919805135
209985971.996708365 -282249265.438511671

result:

ok great!!

Test #75:

score: 0
Accepted
time: 2000ms
memory: 7836kb

input:

1
50000
5276 70767
88376 -103569
-81634 98382
62241 73088
-94107 -79749
128588 -54599
-45724 29152
126680 -59354
20300 74740
117703 33981
-47899 -66994
-36535 41971
-3640 66057
58435 74007
64186 -114212
-50141 20922
-58239 -4785
-55696 -47998
129242 11121
-50518 -61777
102209 51616
124953 21469
1292...

output:

96148.694970698
37537.517619147 -20828.612494182

result:

ok great!!

Test #76:

score: 0
Accepted
time: 2011ms
memory: 7752kb

input:

1
50000
-29706 -50559
-118185 -45311
-87496 -160031
-96873 -33654
-62100 -159244
-123719 -50421
-7752 -66086
-14189 -114030
-29367 -140483
-19256 -64965
-93492 -32659
-94472 -158472
-124352 -140311
-16267 -120026
-140735 -82930
-98397 -156546
-36932 14653
-97876 -33987
-74323 -160871
-74859 -30509
-...

output:

64572.013827141
-76778.554168912 -95699.189654432

result:

ok great!!

Test #77:

score: 0
Accepted
time: 2024ms
memory: 7940kb

input:

1
50000
-7967 -111303
-139902 -11714
-47038 40163
301 -103870
-110304 -113865
-118990 -106801
-129682 -94816
-135288 -2198
-13798 -115511
99472 -42434
-5733 -109481
-33075 36647
9157 -93185
-18184 -118218
-33907 36929
-112298 -112406
-129617 6561
16816 -8515
-103135 30090
-139368 -10442
-102152 3064...

output:

84611.345233046
-60847.905957024 -44171.781842625

result:

ok great!!

Test #78:

score: 0
Accepted
time: 2024ms
memory: 7856kb

input:

1
50000
86410 31829
-26111 -112879
40828 47734
-26025 -112955
104794 15130
-14326 -121653
52940 46073
-25514 25682
-57252 -48675
-75433 60301
-1785 40510
119674 -9736
46727 47130
121410 -73275
23736 47331
-23633 -114977
82750 34217
-54574 -87007
30120 -135570
-50667 -9399
-36344 14624
97100 -110963
...

output:

90904.839018503
34435.964141309 -43857.774418455

result:

ok great!!

Test #79:

score: 0
Accepted
time: 2015ms
memory: 7836kb

input:

1
50000
172952784 149633395
-119974354 161762599
-446439234 276903178
-137946972 122411913
-258908532 154524388
-213204877 236654486
-248749079 130813457
-260542292 166582731
-237882477 221881356
-179616357 100203503
-195302975 239662758
-120859512 183813565
-119592072 166250629
-130946017 208531365...

output:

69867286.485800720
-190058756.826975748 169992556.532380869

result:

ok great!!

Test #80:

score: 0
Accepted
time: 2008ms
memory: 7776kb

input:

1
50000
-115373 -86431
-139397 -62119
-74020 9702
-127405 -693
-115853 7273
-136079 -10893
-143905 -31264
-127744 -1004
7621 15468
-43275 -20574
-40464 -30857
-143993 -47081
-61569 3089
-86992 -91603
-114016 8160
-140708 -59153
-40672 -29688
-55882 -77276
-46745 -13309
-40283 -32030
-48778 -10060
-1...

output:

51879.063083337
-92151.664010977 -39459.019453261

result:

ok great!!

Test #81:

score: 0
Accepted
time: 2011ms
memory: 7828kb

input:

1
50000
1185570 1230202
10732044 6644909
12705502 9961776
-15079088 13135410
-11154031 5504251
7773751 3827422
300336 1141423
16504999 -16874332
8167100 4118679
3224652 1647393
5049809 29107383
-880767 1107193
-11924020 6584959
13427602 12090819
7000258 -3479802
-10810711 26235374
-15302177 15359124...

output:

14449022.763214088
-712637.370611080 15699739.045743050

result:

ok great!!