QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#415114 | #3003. Cost of Living | ucup-team2880 | AC ✓ | 140ms | 8912kb | C++20 | 2.0kb | 2024-05-20 11:19:15 | 2024-05-20 11:19:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 140ms
memory: 8912kb
input:
10 100 1000 1.4232425477 1.4587468547 1.4988380864 1.4232605904 1.4616348675 1.4896779426 1.4308848629 1.4737913284 1.4757245744 6.5778960564 1.5393071490 4.3707126564 3.6695325734 2.3650352685 2.8394679709 1.3411604400 9.3106822560 6.3826766975 9.5128884762 7.6533007241 3.9582086668 3.5031379898 6....
output:
6.5778960564 1.5393071490 4.3707126564 3.6695325734 2.3650352685 2.8394679709 1.3411604400 9.3106822560 6.3826766975 9.5128884762 7.6533007241 3.9582086668 3.5031379898 6.7924186444 7.8444449407 5.6878557364 9.7981075401 6.8324178257 3.5960959401 1.2132399906 8.6224136099 3.9814324534 3.1802408535 5...
result:
ok 1000 numbers
Test #2:
score: 0
Accepted
time: 45ms
memory: 7248kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999984.9915250402 999927.5728325787 999990.6803247513 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999909.1348272597 -1.0000...
output:
34695.6468099981 114941.4627463040 16078.2989912270 517203.3493690434 842775.9361816106 88002.3159409446 177756.7177095418 538943.1056515902 825613.8103663344 291565.1735544454 195902.2703427859 999917.4184488849 572409.5662517740 62638.7221490837 999924.3190076798 407778.4664144245 999978.261905909...
result:
ok 700 numbers
Test #3:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
4 4 1 -1 -1 -1 5.00 -1 5.00 -1 -1 -1 -1 -1 10.00 -1 10.00 -1 -1 -1 11.00 -1 1 4
output:
11.0000000000
result:
ok found '11.00000', expected '11.00000', error '0.00000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3992kb
input:
4 4 8 1.1526548258 1.3314092554 1.0836964938 -1.0000000000 -1.0000000000 -1.0000000000 3.0796000590 4.0215499785 7.3420629650 4.0491125763 3.9906580185 7.3946475528 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 41.6296254448 6.7385283248 -1.0000000000 3 3 1 1 1 4 3 1 4 4 2 1 4 3 2 3
output:
5.7898112603 2.5262816074 11.0671955779 3.2709024735 7.2772214757 3.2131888582 5.9731992802 19.3781474311
result:
ok 8 numbers
Test #5:
score: 0
Accepted
time: 34ms
memory: 4952kb
input:
10 100 800 1.0521634367 1.1729602789 1.1306073452 1.2084144349 1.0078862583 1.1225242003 1.0771205309 1.1964754687 1.3075271282 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.6116023550 3.8020605784 -1.0000000000 1.1923112759 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000...
output:
7.3473859239 3.6591390298 23.5758557709 17.2670028511 6.3252059953 1283.6011224074 2075.0503506161 4.5179157221 809.5628813111 610.0680794943 3.5960318695 7.3971146210 26.0522520052 14.5390560384 131.6717032962 301.1581446892 5.8846084471 361.0540798250 316.1413882625 49.9279809790 28.9989381979 3.7...
result:
ok 800 numbers
Test #6:
score: 0
Accepted
time: 33ms
memory: 4920kb
input:
10 100 800 1.2899791474 1.3915779601 1.3485588348 1.1594621188 1.0920622916 1.1565222542 1.0587715090 1.2046496522 1.1064292921 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.0510368784 3.2247427692 -1.000...
output:
2.7639640350 5.7326297465 6.1321697697 28.6433778746 18.4734581831 900.1084327571 21237.0762475588 5.6903069643 6253.0462506295 4.4958271382 16.8333569978 151.2989849767 24.6940877916 528.7136663765 304.8359204576 25.1476957340 54.1615553758 89.9629749649 1473.2316861744 527.2393309953 548.635794270...
result:
ok 800 numbers
Test #7:
score: 0
Accepted
time: 34ms
memory: 5028kb
input:
10 100 800 1.2335580178 1.1412549423 1.2636981872 1.0526410525 1.4674476261 1.0958246554 1.0466222670 1.2130025095 1.4887983698 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.1485663392 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.227...
output:
29176.0381142281 482.3072066895 5183.6983001983 15.8190936720 10.4989032168 100.3040114045 176.9554750939 1715.5386242794 8.3948422129 1278.8600431542 1888.4769502521 21639.7615423824 16.3492524418 7.4370586141 226.8058068892 1.5522894060 386.0979995220 121.4035357076 18.2459531934 4288.0538961893 1...
result:
ok 800 numbers
Test #8:
score: 0
Accepted
time: 30ms
memory: 6420kb
input:
10 100 800 1.3175894920 1.2377319458 1.4641933114 1.3503200115 1.1285925026 1.4815063735 1.0789026817 1.1885103209 1.3966339158 1.1869655041 -1.0000000000 4.6015195578 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.000...
output:
560.0004360462 336.4411480955 7556.9701850490 7.0527014382 784.0493283756 3113.5121417772 5552.2171793074 8.9854113204 62.1903220142 12084.3725002845 1.4299975133 13337.5829729583 36.5054214937 21618.9839513739 69.5738854287 2.4627721177 3.3026128106 7174.3207531886 67.7684323803 1413.1039275505 21....
result:
ok 800 numbers
Test #9:
score: 0
Accepted
time: 34ms
memory: 5028kb
input:
10 100 800 1.0229245005 1.2237172315 1.3135991079 1.3393777895 1.2020081719 1.4538382518 1.4322652821 1.4068822581 1.0466032669 -1.0000000000 -1.0000000000 3.5573212846 2.4303986142 4.8018918640 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.2404459367 -1.00000...
output:
6.7183473322 117.1528485340 1537.2974329784 19.2454950492 516.4593332866 45.6626938721 28.6404566005 601.4516024218 5.0691285121 3.1916192551 8.9142950235 1238.6353958314 727.8060935594 63.0113636599 19380.6262518725 7.6186632682 17304.6162157873 4.6757321636 4577.3553749860 21.2580139130 2.02873898...
result:
ok 800 numbers
Test #10:
score: 0
Accepted
time: 30ms
memory: 5024kb
input:
10 100 800 1.2776330738 1.3262397787 1.0936173086 1.2506250361 1.2400873318 1.1721111311 1.2246621786 1.3638339615 1.1735227970 2.3274523768 -1.0000000000 -1.0000000000 -1.0000000000 3.1624258566 -1.0000000000 4.8259576984 -1.0000000000 2.0694932933 -1.0000000000 -1.0000000000 -1.0000000000 -1.00000...
output:
14.8672399346 159.0068670317 172.2203849997 4.4142829845 2167.6770290440 14.4905351671 8537.9044754195 28170.3415250840 12.1461513986 6.5680422017 3.6198204643 2023.1371474964 23.4556180358 23.5669697269 988.7142458991 23.4463788369 4.2911967833 1.1798484342 556.2714437364 17936.6290039865 418.59070...
result:
ok 800 numbers
Test #11:
score: 0
Accepted
time: 26ms
memory: 5088kb
input:
10 100 800 1.2713921167 1.3589950021 1.4646596382 1.0268993278 1.3347254135 1.1409169610 1.4976473069 1.1611135028 1.3759583622 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.3875847073 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00...
output:
13.4080197158 139.1787517300 19113.0692077644 4.2038307697 13395.2826108364 1061.9595635573 2.1085504861 3788.7202614653 17.0085221508 40.4362808553 91.2183663173 2356.5134714954 1.0089091059 5.5958237503 2.4304445269 9.9197843328 3145.7128785000 992.9302757421 3.5128323109 4.6361227774 10128.874662...
result:
ok 800 numbers
Test #12:
score: 0
Accepted
time: 34ms
memory: 4828kb
input:
10 100 800 1.0501988692 1.0457193911 1.2072818261 1.1134012252 1.1453399136 1.2696923791 1.3947999503 1.1505678861 1.0705078222 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.9872342708 -1.0000000000 -1.0000000000 -1.0000000000 3.2735632693 -1.000...
output:
5.4933155689 36.4178054288 8.9891023301 13.2884218922 825.5103289509 2478.0840260501 10.2030126921 14.8420853813 335.2743404156 4662.9744064274 11145.1930906101 1.3338777646 2.7324271783 31.0333399157 8714.2015867378 35.3264223971 844.4680311000 61.6780459837 1020.4331653497 2.3704690099 13.09870280...
result:
ok 800 numbers
Test #13:
score: 0
Accepted
time: 34ms
memory: 6376kb
input:
10 100 800 1.1379620977 1.4484034825 1.0543961923 1.4376887816 1.4408356074 1.4038140736 1.2288980916 1.0276153023 1.1431729363 2.3050825918 -1.0000000000 -1.0000000000 -1.0000000000 1.6669517279 4.5758080971 -1.0000000000 -1.0000000000 1.0842605202 -1.0000000000 4.1978620846 -1.0000000000 -1.000000...
output:
903.5548533657 388.8621360767 10884.0900145111 245.8785523789 240.3021049449 24.1056454452 45.3446912474 531.9849606163 61.2018927907 14221.6291370521 5.9169526056 11567.6387510184 22155.2466561779 331.4073888825 2.7843716127 69.1177721427 172.6003232551 5286.6160232645 6.5943502382 39.5274551442 40...
result:
ok 800 numbers
Test #14:
score: 0
Accepted
time: 0ms
memory: 4072kb
input:
6 4 24 -1 -1 1 1 1 -1 2 -1 -1 -1 -1 -1 -1 2 -1 -1 -1 -1 2 -1 -1 -1 2 -1 -1 2 -1 -1 -1 1 1 2 1 3 1 4 1 1 2 2 2 3 2 4 2 1 3 2 3 3 3 4 3 1 4 2 4 3 4 4 4 1 5 2 5 3 5 4 5 1 6 2 6 3 6 4 6
output:
2.0000000000 2.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1...
result:
ok 24 numbers
Test #15:
score: 0
Accepted
time: 0ms
memory: 4084kb
input:
10 4 40 -1 -1 -1 -1 -1 1 1 1 -1 -1 -1 -1 -1 2 2 -1 2 -1 -1 -1 -1 2 2 -1 -1 -1 -1 -1 -1 2 -1 -1 -1 -1 2 -1 -1 -1 -1 -1 -1 -1 -1 -1 2 -1 -1 -1 -1 1 1 2 1 3 1 4 1 1 2 2 2 3 2 4 2 1 3 2 3 3 3 4 3 1 4 2 4 3 4 4 4 1 5 2 5 3 5 4 5 1 6 2 6 3 6 4 6 1 7 2 7 3 7 4 7 1 8 2 8 3 8 4 8 1 9 2 9 3 9 4 9 1 10 2 10 3 ...
output:
-1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1.0000000000 2.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 -1.0000000000 2.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 ...
result:
ok 40 numbers
Test #16:
score: 0
Accepted
time: 0ms
memory: 3984kb
input:
6 4 24 -1 -1 -1 -1 -1 -1 2 2 -1 -1 2 -1 -1 -1 -1 -1 2 2 2 -1 -1 2 -1 2 -1 2 -1 2 -1 1 1 2 1 3 1 4 1 1 2 2 2 3 2 4 2 1 3 2 3 3 3 4 3 1 4 2 4 3 4 4 4 1 5 2 5 3 5 4 5 1 6 2 6 3 6 4 6
output:
2.0000000000 2.0000000000 2.0000000000 -1.0000000000 2.0000000000 2.0000000000 2.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0000000000 2.0000000000 2.0000000000 2.0000000000 -1.0000000000 2.0000000000 2.0000000000 2.0000000000 -1.0000000000 2.0000000000 2.0000000000 2.00000...
result:
ok 24 numbers
Test #17:
score: 0
Accepted
time: 0ms
memory: 4012kb
input:
6 2 12 -1 -1 -1 -1 -1 2 -1 2 -1 2 -1 -1 2 -1 2 -1 2 1 1 2 1 1 2 2 2 1 3 2 3 1 4 2 4 1 5 2 5 1 6 2 6
output:
2.0000000000 -1.0000000000 2.0000000000 -1.0000000000 2.0000000000 -1.0000000000 -1.0000000000 2.0000000000 -1.0000000000 2.0000000000 -1.0000000000 2.0000000000
result:
ok 12 numbers
Test #18:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10 1 10 -1 -1 -1 -1 1 1 1 1 1 -1 -1 -1 -1 -1 -1 -1 128 256 -1 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10
output:
-1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 16.0000000000 32.0000000000 64.0000000000 128.0000000000 256.0000000000 512.0000000000
result:
ok 10 numbers
Test #19:
score: 0
Accepted
time: 45ms
memory: 7260kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999981.3062264143 999903.4478394005 9...
output:
999929.9924967893 999903.4478394007 999987.3216518989 999929.9924967894 999933.1712873401 999992.4835305369 999927.1949271128 999936.9067375490 999995.0321841568 999962.7776007690 999908.1814066940 999946.8811812295 999937.8093865274 999933.4087127367 999916.1907448355 999907.7977217174 999935.36720...
result:
ok 700 numbers
Test #20:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
4 4 4 -1.0000000000 -1.0000000000 -1.0000000000 1.8928429526 -1.0000000000 -1.0000000000 -1.0000000000 2.8237713441 8.5031341337 5.1105589373 8.0067820072 -1.0000000000 14.0582533008 5.4057455625 10.7656273636 4.1557987046 26.1121938963 6.4239546067 16.2622392308 3 1 1 3 4 1 2 1
output:
3.7067979498 3.2319317662 4.5687182709 3.9458848567
result:
ok 4 numbers
Test #21:
score: 0
Accepted
time: 45ms
memory: 5428kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.4468276012 3.3094085810 -1.0000000000 -1.0000000000 1.9115931026 -1.0000000000 -1.000000000...
output:
10.8761774971 452.6284469378 249.7849734695 18.2506338213 54.2522121917 5.7303730743 10.6691338635 394.2782624803 14.1457924390 2.8148948253 1470.2336196952 4.5120383968 8.6622657660 650.5585546072 108.0634415831 196.5259077319 42.0694400687 18.9144536512 38777.6941042073 66.6443698074 2.7959649200 ...
result:
ok 700 numbers
Test #22:
score: 0
Accepted
time: 45ms
memory: 5472kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.7599370304 -1.0000000000 3.8881524183 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00000000...
output:
52.0772674267 135.2813124091 254.8638691772 591.6075221590 7.6332954393 1.1985417722 109.8271314775 26.4768603027 239.8132476538 4.4266821928 16669.7838778435 301.7305416341 19.5129002254 8999.6260892026 8826.3743057073 161.5915031501 2.0742479731 166.8608159989 19.9869805757 109.4847340550 19090.22...
result:
ok 700 numbers
Test #23:
score: 0
Accepted
time: 44ms
memory: 5276kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.0901945854 -1.0000000000 -1.0000000000 3.6862311053 -1.0000000000 3.0471500872 -1.000000000...
output:
42.3263505421 222.1010462268 5.4742561723 14.9006640370 7.5685853430 260.5102171011 6.6791415460 2334.4537512278 234.9455066405 8.6570013954 5.8108916447 64.7267972435 18.4362163955 7.1265402091 4.4864320907 6631.8197639166 1405.8589772706 9.6844948369 10.3849823624 3052.0884344862 12.3406362604 83....
result:
ok 700 numbers
Test #24:
score: 0
Accepted
time: 45ms
memory: 7472kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.2548748007 4.7362238853 -1.0000000000 2.1204692893 2.4533130632 1.3569169662 1.7167450103 -1.0000000000 -...
output:
30.6962554695 5.2584525315 7.9005509870 453.6495544475 13.8428103768 36.2029290003 9.2257513255 1019.7870435143 9.9810836025 95477.8733397307 14.4752596152 11.6825873062 1757.0975764393 501.4565624139 438.5747831836 36024.2674774197 155.2635158986 3498.6085847006 1779.6657603257 292.9846163433 6.385...
result:
ok 700 numbers
Test #25:
score: 0
Accepted
time: 41ms
memory: 5468kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.8362270584 -1.0000000000 -1.0000000000 4.6038264788 -1.0000000000 -1.0000000000 2.8720165885 -1.0000000000 4.7525733203 1.0014144503 -1.0000000000 ...
output:
18.9189554745 4509.5799964856 1.4104488424 2476.0197883043 7.9145195667 4450.8833331066 10.5975185920 20.6153883972 21.8163843263 3492.5828201900 56.8361204497 537.9599147291 473.6202496739 875.2145153677 4567.2641440448 4237.0027990302 14523.7636850976 53.8278014791 3252.9261566149 53.0480169724 3....
result:
ok 700 numbers
Test #26:
score: 0
Accepted
time: 41ms
memory: 6808kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.1808166722 -1.0000000000 -1.0000000000 -1.0000000000 2.1799998719 -1.0000000000 -1.0000000000 3.474584851...
output:
4.3467601179 12.1306527381 6.8797456786 15.5628678955 55.7950618743 253.1044049059 6.5920328934 2.4665696510 68.8933967900 2.5545914323 114.8785431181 243.4023507864 3.6352151995 2240.3828819725 248.9217441962 10.2585901372 1.7191703778 4715.6964818725 4422.6524480441 17.0618694091 501.5709405697 1....
result:
ok 700 numbers
Test #27:
score: 0
Accepted
time: 41ms
memory: 7296kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.3649542456 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.5636989486 -1.0000000000 3.8017048357 -1.0000000000 -1.0000000000 -1.0000000000 2.5748655606...
output:
1390.8188237336 565.4336138809 301.4798581994 20.3170414784 25.1461204925 112.8095412737 3.7411918995 11.8373697030 1049.9589704284 1682.4794696137 30.3106439882 79.6211122800 724.4639632069 85.4675471346 1.8040527868 12.8263912857 8.7087707045 66.7251411201 526.0204873342 8.2554136155 92.1731306944...
result:
ok 700 numbers
Test #28:
score: 0
Accepted
time: 41ms
memory: 7368kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.6710908486 -1.0000000000 1.1629480169 4.2383499853 -1.0000000000 4.2214426199 2.3762098507 -1.0000000000 1.4540884083 -1.0000000000 -...
output:
802.1866780022 94.4824728659 11.2288880755 7.9754481335 255.4119366570 44.7401258640 62.3722061665 96.0903725274 34.9476475385 672.2970358651 2917.2191863632 18.7683798449 3.0171745662 383.7415505497 4.9420776367 124.5054453113 11.6887470216 13.4011480992 5.9673389137 99.1541845717 155.3893822105 1....
result:
ok 700 numbers
Test #29:
score: 0
Accepted
time: 45ms
memory: 7328kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.0719063417 -1.0000000000 -1.0000000000 -1.0000000000 4.1270212263 3.8181242083 4.7440500035 -1.0000000000 -1.0000000000 -1.0000000000...
output:
6.4093148170 906.0996866965 6138.6835150318 2.7393859384 13.0807032387 5.6003285700 271.1464780739 25.0621523094 51.3235118560 1.8028294634 1623.8597297494 7.8795741765 7.8835375538 61.9937812281 153.9551234150 17.4256694610 19.5588660585 4.4059492372 1661.5295978042 21.6950034435 206.0899099488 132...
result:
ok 700 numbers
Test #30:
score: 0
Accepted
time: 3ms
memory: 3808kb
input:
10 100 1000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00000...
output:
-1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.000...
result:
ok 1000 numbers
Test #31:
score: 0
Accepted
time: 94ms
memory: 7748kb
input:
10 100 300 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.9677417732 5.5481975929 1.2388237272 2.7895388562 6.8489599400 5.9044733254 -1.0000000000 -1.0000000000 8.2848741101 -1.0000000000 8.2523732665 7.2...
output:
215.6652366800 3.7284219240 6.7686561873 740.7587903526 24.4456903544 52115.5280048454 4079.0014187110 343.9254423267 13469.0939229956 19217.5719380499 189.1618966441 39.6318314075 4.5946045463 762.2148438537 5.0835133570 34.7226955825 70936.7870151615 162.0841751418 183.0311207460 593.9973479801 71...
result:
ok 300 numbers
Test #32:
score: 0
Accepted
time: 82ms
memory: 8676kb
input:
10 100 400 -1.0000000000 1.4274480380 -1.0000000000 -1.0000000000 1.4744668841 -1.0000000000 -1.0000000000 -1.0000000000 1.4904155291 3.5757473631 8.1897410756 -1.0000000000 -1.0000000000 -1.0000000000 6.5880204682 -1.0000000000 -1.0000000000 6.9326338629 8.5450340527 -1.0000000000 -1.0000000000 6.8...
output:
51112.5651567466 2459.0085947438 185.7860977761 151196.3354157969 25.7872342158 406.5429402215 214.9189391356 9064.1948795845 121.5027968838 47.1642723538 440.4785918290 11.2928598485 45.1180074116 -1.0000000000 6.0526664402 17.2897517981 24.9246894450 272.7329293906 6.5709709935 13.5086207354 49.57...
result:
ok 400 numbers
Test #33:
score: 0
Accepted
time: 67ms
memory: 8232kb
input:
10 100 500 -1.0000000000 1.4134092751 1.4242858516 1.4203336733 1.4646705852 -1.0000000000 1.4847133386 1.4092463997 -1.0000000000 -1.0000000000 3.4161542907 7.0630472857 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 7.5187471587 -1.0000000000 5.3145478582 8.8252646637 3.9966787974 -1.0000...
output:
-1.0000000000 -1.0000000000 -1.0000000000 38.9310027322 8.5002644377 10.2239039479 513.4574372751 7.4491565774 270.9176895208 6317.8520524390 129.0425819991 67459.8574730270 783.2875324483 -1.0000000000 -1.0000000000 15644.1038491164 1091.1075991837 -1.0000000000 123.0675438771 132.1993710975 911.40...
result:
ok 500 numbers
Test #34:
score: 0
Accepted
time: 46ms
memory: 7532kb
input:
10 100 600 -1.0000000000 1.4222706523 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 6.8803570282 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 6.4378294846 -1.0000000000 3.7413816229...
output:
2071.7514383228 -1.0000000000 20.9416010556 -1.0000000000 45460.5972655381 -1.0000000000 2730.3044221117 51241.5839473069 31.1572818645 -1.0000000000 13554.7956095651 33627.4640164172 16.7587723309 -1.0000000000 1.8180599222 1550.4148760258 -1.0000000000 51.4575206216 56.1483403288 -1.0000000000 -1....
result:
ok 600 numbers
Test #35:
score: 0
Accepted
time: 36ms
memory: 5976kb
input:
10 100 700 1.4807840691 1.4261252588 1.4700774873 1.4484918514 -1.0000000000 1.4862014428 1.4342847995 1.4084401466 1.4145070252 9.4054766923 2.3873526867 5.4635344801 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 6.7381719985 -1.0000000000 -1.0000000000 4.1056814752 -1.0000000000 -1.00000...
output:
41.7475711166 1036.8655454721 1049.0107016025 -1.0000000000 -1.0000000000 27316.4168077095 7893.0934564970 18.8488358131 18.7585503803 -1.0000000000 -1.0000000000 3.9938926320 330.8798315630 -1.0000000000 87.3408995511 -1.0000000000 -1.0000000000 -1.0000000000 35979.7618867165 -1.0000000000 853.7402...
result:
ok 700 numbers
Test #36:
score: 0
Accepted
time: 0ms
memory: 4052kb
input:
4 4 5 1.3389137753 1.2453132838 1.4745777478 -1.0000000000 1.6279270129 4.4597430791 3.3655243133 -1.0000000000 4.1559002643 -1.0000000000 6.1753680584 14.3054065549 9.8678221715 28.9725311378 10.5389895251 -1.0000000000 27.7438397589 84.3289704033 -1.0000000000 4 4 1 2 3 2 1 4 1 1
output:
21.2972806384 -1.0000000000 11.7865074152 -1.0000000000 -1.0000000000
result:
ok 5 numbers
Test #37:
score: 0
Accepted
time: 17ms
memory: 6008kb
input:
10 100 799 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.0417332012 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.6769048894 -1.00000000...
output:
44.7537595165 -1.0000000000 1.6911515381 -1.0000000000 -1.0000000000 76.0571080516 -1.0000000000 -1.0000000000 63.7775271116 -1.0000000000 53.1620416557 -1.0000000000 -1.0000000000 41.2030345815 -1.0000000000 -1.0000000000 -1.0000000000 207.6876683437 -1.0000000000 -1.0000000000 -1.0000000000 -1.000...
result:
ok 799 numbers
Test #38:
score: 0
Accepted
time: 22ms
memory: 4984kb
input:
10 100 800 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3.3116776323 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.0812629475 -1.0000000000 -1.00000000...
output:
10.4301597332 40.5090378732 -1.0000000000 -1.0000000000 -1.0000000000 895.5242434818 620.9159949764 -1.0000000000 374.0574145693 -1.0000000000 -1.0000000000 -1.0000000000 4.1825946120 -1.0000000000 -1.0000000000 -1.0000000000 106.6865830506 107.0792072532 -1.0000000000 819.4926451551 11.7181165776 -...
result:
ok 800 numbers
Test #39:
score: 0
Accepted
time: 23ms
memory: 6464kb
input:
10 100 792 1.4655502165 1.1366001379 1.1035631980 1.0307136632 1.4432255049 1.2609673825 -1.0000000000 1.4254184302 1.2967916824 4.8401049699 1.2258643958 2.8268315927 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.9593860382 -1.0000000000 1.7786958166 3.9621935042 -1.000000...
output:
-1.0000000000 11.1325593706 3470.2964383643 2.9828853004 -1.0000000000 -1.0000000000 5427.9560744085 -1.0000000000 -1.0000000000 12.1179537210 -1.0000000000 50.5331982974 106.8240700846 3.4800299295 2.2509142659 29.6641205752 -1.0000000000 987.3765529624 -1.0000000000 227.1118123366 -1.0000000000 -1...
result:
ok 792 numbers
Test #40:
score: 0
Accepted
time: 14ms
memory: 5980kb
input:
10 100 800 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3.3758827143 -1.0000000000 -1.0000000000 -1.0000000000 2.4657513310 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.9504286374 2.9641394449...
output:
-1.0000000000 -1.0000000000 92.6931223993 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 23900.3175076785 9.2801474875 1635.1950377350 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 148.2302421828 7991.2200670021 -1.0000000000...
result:
ok 800 numbers
Test #41:
score: 0
Accepted
time: 17ms
memory: 4856kb
input:
10 100 793 -1.0000000000 -1.0000000000 1.1058495647 1.4171439424 1.3733467703 1.0547271715 1.2084647978 1.1683697215 1.3287618448 3.4619418449 -1.0000000000 -1.0000000000 3.7680268404 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3.6895113450 -1.0000000000 -1.0000000000 -1.0000000000 2.229...
output:
-1.0000000000 299.9374337552 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 16.9212021542 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00...
result:
ok 793 numbers
Test #42:
score: 0
Accepted
time: 19ms
memory: 6340kb
input:
10 100 796 1.0531446023 -1.0000000000 1.0186246091 1.0350047232 -1.0000000000 1.1037101466 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.4434727517 -1.0000000000 -1.0000000000 3.1434137308 -1.0000000000 3.9004131477 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3....
output:
-1.0000000000 -1.0000000000 11.8542174862 2.4311947105 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.9295825968 2.9614867715 20.4056963137 -1.0000000000 10.0956273017 -1.0000000000 3.9228980118 1882.5501852680 406.9145...
result:
ok 796 numbers
Test #43:
score: 0
Accepted
time: 21ms
memory: 4952kb
input:
10 100 799 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.3139944530 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3.5705709729 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00000000...
output:
13.0525383055 -1.0000000000 1147.0676047036 123.1112348018 2.1791420215 1165.9642363307 -1.0000000000 -1.0000000000 484.6449317864 121.3883651298 -1.0000000000 -1.0000000000 8.7338713288 -1.0000000000 8.1718167858 -1.0000000000 482.1805448343 788.0035835825 -1.0000000000 -1.0000000000 71.0196534788 ...
result:
ok 799 numbers
Test #44:
score: 0
Accepted
time: 22ms
memory: 4948kb
input:
10 100 798 1.1380052780 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.1568359591 -1.0000000000 4.0757491018 -1.0000000000 -1.0000000000 1.4319198930 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.8003678023 3.1546478531 3...
output:
116.9894829313 -1.0000000000 -1.0000000000 1570.8837792630 -1.0000000000 11.3068348790 22.6635841956 -1.0000000000 -1.0000000000 8.4131098617 -1.0000000000 104.1704416277 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1....
result:
ok 798 numbers
Test #45:
score: 0
Accepted
time: 24ms
memory: 5128kb
input:
10 100 791 1.1787459246 1.3922470978 1.1151446200 1.1925113501 1.3939072649 1.4397895392 1.1010497913 1.3784205494 1.4928830754 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 3.1841543266 -1.0000000000 3.0738497347 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.000...
output:
-1.0000000000 -1.0000000000 6.3395887075 67.8351913747 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 11385.5241129832 -1.0000000000 770.6257718612 -1.0000000000 -1.0000000000 -1.0000000000 32.9336040963 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 18.9431068603 -1....
result:
ok 791 numbers
Test #46:
score: 0
Accepted
time: 20ms
memory: 5960kb
input:
10 100 799 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.4432609112 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 8.2785518545 3.4829212847 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 8.7727208263...
output:
-1.0000000000 -1.0000000000 20.0189510856 -1.0000000000 -1.0000000000 -1.0000000000 158.1113180305 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 17302.8075543713 5259.7168708554 266.1312508550 -1.0000000000 660.8767764138 12420.0817635433 6.3490421741 -1.0000000000 -1.0000000000 -1.0000000...
result:
ok 799 numbers
Test #47:
score: 0
Accepted
time: 21ms
memory: 4884kb
input:
10 100 799 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.4945916321 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.2176774528 -1.00000000...
output:
-1.0000000000 117.0502764412 1458.1017502273 -1.0000000000 -1.0000000000 -1.0000000000 16.7575438336 -1.0000000000 -1.0000000000 -1.0000000000 58.0110250593 -1.0000000000 437.3581463550 6.5438083450 92.0767673158 -1.0000000000 2594.2314209447 -1.0000000000 -1.0000000000 -1.0000000000 10.9080880832 -...
result:
ok 799 numbers
Test #48:
score: 0
Accepted
time: 21ms
memory: 4932kb
input:
10 100 800 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.8583709046 -1.0000000000 7.7675870926 -1.0000000000 -1.0000000000 -1.0000000000 6.0676531577 -1.0000000000 -1.0000000000 -1.0000000000 -1.000000000...
output:
123.7224354636 13.5253443922 -1.0000000000 149.6163825994 30.8766293335 -1.0000000000 2244.3976891233 -1.0000000000 38.2884201993 -1.0000000000 -1.0000000000 16078.6563960392 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 10.4913758467 196.3238540648 16.7297394864 8136.1680821866 1.82190067...
result:
ok 800 numbers