QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115786#5716. 圣诞树xiaossr#25 20ms43160kbC++173.3kb2023-06-27 06:07:072024-05-31 14:19:26

詳細信息

Test #1:

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

input:

4
-22.593412495 -9741424.257746905
66.477818528 -7470406.982326438
71.236323414 7018109.244555489
-18.001300149 9836641.258750316

output:

4 3 2 1 

result:

ok correct plan, the length of your path is 19578065.51965740451487363316

Test #2:

score: 0
Runtime Error

input:

4
-99.945695391 329478.323986514
58.338556392 -8121952.277471396
98.855861366 1508372.046305224
-98.301252730 1835377.839701636

output:


result:


Test #3:

score: 0
Runtime Error

input:

9
-88.130252191 4725523.246414331
-86.337894581 -5045556.847431189
-75.482463432 -6559264.021527681
64.064506153 -7678370.363799104
64.079064933 -7677155.793970107
94.183333255 -3360801.283386214
99.910650088 422627.449100774
94.074532824 3391138.333482600
-52.823585196 8490976.186361579

output:


result:


Test #4:

score: 0
Runtime Error

input:

9
-9999899.409899285 0.445735685
-7231624.918363319 -69.067771292
-867508.690844329 -99.622991525
3425332.589571590 -93.950561320
9889658.552976551 -14.814340491
9492319.604022885 31.457696787
9332495.734425072 35.922856107
498097.043795430 99.875872615
-5404658.812398645 84.136583404

output:


result:


Test #5:

score: 0
Runtime Error

input:

9
-98.456759828 -1750039.400241718
-61.957845365 -7849345.839369436
-59.052313747 -8070205.528202594
77.168445838 -6360055.215798607
96.060368020 -2779217.531057043
78.565395272 6186662.271937571
4.606686692 9989383.069703352
3.397499779 9994226.834499145
-39.069633259 9205195.628080532

output:


result:


Test #6:

score: 0
Runtime Error

input:

9
-97.909815371 2033875.115519879
-80.675324185 -5908882.709178978
-13.448712806 -9909152.078581285
34.090323608 -9400982.711778836
90.480355630 -4258291.002542999
93.108963682 3647904.559997857
60.919471145 7930206.452793276
-38.387831977 9233836.160472939
-76.379741762 6454558.816006526

output:


result:


Test #7:

score: 0
Runtime Error

input:

18
-9777641.109811993 20.970731284
-8753656.260425124 -48.346120434
-7412844.019762204 -67.119084311
-2848482.296643767 -95.857248575
-2643357.228935465 -96.443058122
-740948.350504887 -99.725109459
9194209.737187773 -39.327474387
9526046.479729515 -30.421103729
9682037.024214631 -25.016297631
99599...

output:


result:


Test #8:

score: 0
Runtime Error

input:

18
-97.609231020 2173559.044735648
-96.653901492 -2565191.958433518
-71.068216234 -7035129.893726200
-57.597514590 -8174670.477582518
-43.629677306 -8998026.861567581
-23.445797538 -9721261.043276759
51.843209722 -8551187.171098029
85.919958067 -5116405.234874469
99.410736234 1083997.160856929
99.32...

output:


result:


Test #9:

score: 0
Runtime Error

input:

18
-99.052027871 1373657.188540728
-46.267273393 -8865290.193271797
-40.834336049 -9128282.532344488
17.132754076 -9852140.308015687
38.296002635 -9237648.269742230
99.724923173 741212.433843515
32.700081150 9450240.574760046
28.654655008 9580663.204977673
10.616908878 9943480.906035516
-41.66605215...

output:


result:


Test #10:

score: 0
Runtime Error

input:

18
-9988644.395188430 4.764068958
-9173724.491107116 -39.802951007
-8669681.096146317 -49.836333480
-7443519.270126479 -66.778731030
-5770717.036658329 -81.669335701
-4862699.881117738 -87.380848180
-3713063.792800765 -92.851026160
9500618.150680272 -31.206171477
9721196.074895224 23.448557497
96400...

output:


result:


Test #11:

score: 0
Runtime Error

input:

18
-97.500291551 -2221915.344895550
-85.855028670 -5127291.492091638
-81.506395617 -5793707.605811875
-57.410205499 -8187835.747089645
-22.821335632 -9736110.176641855
66.955919984 -7427585.981703298
89.660019470 -4428408.634845663
90.424403727 -4270159.337310728
99.043900721 -1379511.929871218
62.9...

output:


result:


Test #12:

score: 0
Runtime Error

input:

18
-9947658.731449893 10.217953279
-9939857.386696933 -10.950854070
-9783437.215747919 -20.698629553
-9105239.685636943 -41.345595985
-7899735.977385085 -61.314064708
5556037.039803670 -83.144712470
6528899.547216170 -75.745268214
6692721.204555425 -74.301730965
9197505.650969345 -39.250325864
94685...

output:


result:


Test #13:

score: 5
Accepted
time: 16ms
memory: 43104kb

input:

1000
-9999997.952898901 -4576.245054302
-9999989.576091422 -13728.731329473
-9999972.822483480 -22881.206104348
-9999947.692089111 -32033.661712073
-9999914.184929363 -41186.090485811
-9999872.301032308 -50338.484758746
-9999822.040433031 -59490.836864093
-9999763.403173631 -68643.139135102
-9999696...

output:

613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 ...

result:

ok correct plan, the length of your path is 9143337.61849549340331577696

Test #14:

score: 5
Accepted
time: 15ms
memory: 43140kb

input:

1000
-1825898.847330943 9831890.631985107
5662711.565947135 8242188.891361902
5656228.313823126 8246639.392013366
5649741.563914310 8251084.792982076
5643251.320232062 8255525.091519018
5636757.586789916 8259960.284878331
5630260.367603568 8264390.370317313
5623759.666690866 8268815.345096420
561725...

output:

767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 ...

result:

ok correct plan, the length of your path is 9693449.79312936085352703230

Test #15:

score: 5
Accepted
time: 15ms
memory: 43160kb

input:

1000
-99.999981021 -4196.234000641
-99.999320477 -36586.226022812
-99.998638507 -51988.425758636
-99.998540504 -53840.147796606
-99.996477416 -83813.595838026
-99.995887884 -90573.648762260
-99.994477077 -105001.851766843
-99.994068719 -108820.698731471
-99.991919913 -127039.407758334
-99.991264070 ...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok correct plan, the length of your path is 9995801.72726994066215411294

Test #16:

score: 5
Accepted
time: 20ms
memory: 43088kb

input:

1000
-99.999978017 -4891.410365499
-99.999967146 -6754.280518179
-99.999955795 -8257.483386669
-99.999736640 -22502.317321211
-99.999214627 -39377.387317373
-99.999167117 -40560.419764050
-99.998745253 -49888.517303299
-99.998206921 -59713.360992776
-99.996711992 -80967.486763354
-99.991893147 -1272...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok correct plan, the length of your path is 9995105.65982793520470295334

Test #17:

score: 0
Runtime Error

input:

1000
-99.998824893 48271.144190956
-99.998686363 -51059.495118453
-99.994756371 -102306.410053996
-99.859086308 -530668.091646454
-99.791160796 -645927.013729155
-99.656122983 -828583.728203046
-99.617939662 -873292.699336426
-99.617009806 -874352.974038697
-99.316783836 -1166937.226541790
-99.08366...

output:


result:


Test #18:

score: 0
Runtime Error

input:

1000
-99.999737126 22486.548024433
-99.995394603 -95866.151807391
-99.981657893 -191469.955487396
-99.973551603 -229932.984965422
-99.964715932 -265585.375982726
-99.914972981 -412263.142524763
-99.639135629 -848766.985397028
-99.266079287 -1209311.492720083
-99.085585312 -1349239.443977273
-98.7879...

output:


result:


Test #19:

score: 0
Runtime Error

input:

1000
-99.999976329 -5182.932816969
-99.999974006 -5609.074780653
-99.999619226 -27222.105163970
-99.989528601 -144641.674033520
-99.956566214 -294665.670278608
-99.949343997 -318223.266410106
-99.918318277 -404074.299019073
-99.841812148 -562232.269219097
-99.819825417 -600003.369759435
-99.78134063...

output:


result:


Test #20:

score: 0
Runtime Error

input:

1000
-99.999988547 -1677.361228845
-99.998216842 -59548.488590103
-99.982093973 -189178.611914105
-99.969981907 -244963.031694546
-99.947047678 -325355.860842565
-99.915481043 -411030.598804676
-99.858110747 -532500.464719264
-99.802575836 -628042.709810111
-99.799647287 -632679.783296217
-99.796519...

output:


result: