QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#685919 | #8022. Walker | Xunwuqishi | AC ✓ | 10ms | 1668kb | C++23 | 3.6kb | 2024-10-28 21:57:08 | 2024-10-28 21:57:09 |
Judging History
answer
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
const int QAQ = 0;
int main()
{
int _;
scanf("%d",&_);
while(_--)
{
double n,a,b,av,bv,ans;
scanf("%lf%lf%lf%lf%lf",&n,&a,&av,&b,&bv);
if(a > b)//找到一个左右的参考点,后续两人视为A和B
{
double t;
t = a;a = b;b = t;
t = av;av = bv;bv = t;
}
ans = 1000000000.0;//把最小的答案初始设置为最大值
if((2 * n - a) / av < ans) ans = (2 * n - a) / av;//考虑A正向起始掉头一次跑完全程
if((2 * n - b) / bv < ans) ans = (2 * n - b) / bv;//考虑B正向起始掉头一次跑完全程
if((a + n) / av < ans) ans = (a + n) / av;//考虑A反向起始掉头一次跑完全程
if((b + n) / bv < ans) ans = (b + n) / bv;//考虑B反向起始掉头一次跑完全程
double t = (b - a) / (av + bv);//考虑相向而行的相对速度并且相遇的时间
double o;
o = 1000000000.0;
if((n - b + t * bv) / av > (a + t * av) / bv) o = t + (n - b + t * bv) / av;
else o = t + (a + t * av) / bv;
if(o < ans) ans = o;//相遇后A到右端,B到左端
if((n - b) / bv > (b + a) / av) o = (n - b) / bv;else o = (b + a) / av;
if(o < ans) ans = o;//a先向左然后到底掉头至b的初始点,b直接向右到底
if(a / av > (n - b + n - a) / bv) o = a / av;else o = (n - b + n - a) / bv;
if(o < ans) ans = o;//b先向右到底然后至a的初始点,a直接向左到底
if((n - b) / bv > (b - a + b - a + a) / av) o = (n - b) / bv;
else o = (b - a + b - a + a) / av;
if(o < ans) ans = o;//a先向右至b的初始点然后折返到底,b直接向右到底
if(a / av > (b - a + b - a + n - b) / bv) o = a / av;
else o = (b - a + b - a + n - b) / bv;
if(o < ans) ans = o;//b先向左至a的初始点然后折返到底,a直接向左到底
if(a / av > (n - b) / bv)
{
double tt = a / av;
double x = tt * bv - (n - b);
double xx = (av * (n - a - x) - a * bv) / (av + bv);
if(tt + (a + xx) / av < ans) ans = tt + (a + xx) / av;
}else
{
double tt = (n - b) / bv;
double x = tt * av - a;
double xx = (av * (n - a) - bv * (a - x)) / (av + bv);
if(tt + (a - x + xx) / av < ans) ans = tt + (a - x + xx) / av;
}//a和b分别往两端移动然后相聚于中间点,涉及简单判断和计算
double xx = (av * (2.0 * (b - a) + n - b) - a * bv) / (2.0 * (av + bv));
if(xx >= 0.0 && xx <= b - a)
{
if((2 * xx + a) / av < ans) ans = (2 * xx + a) / av;
}//b和a分别走向中间然后并未相遇时b折返,a走到b折返的位置后折返
xx = (av * (2.0 * (b - a) + n - b) - 2.0 * a * bv) / (2.0 * av + bv);
if(xx >= 0.0 && xx <= b - a)
{
if((2 * a + xx) / av < ans) ans = (2 * a + xx) / av;
}//a先向左走到底,b向左走一定路程后折返,a到底后折返至b的折返点
xx = ((b - a + 2.0 * (n - b)) * av - a * bv) / (av + 2.0 * bv);
if(xx >= 0.0 && xx <= b - a)
{
if((a + 2 * xx) / av < ans) ans = (a + 2 * xx) / av;
}//b先向右走到底,a往右走到一定位置折返,b走到底后折返走到至a的折返点
//上述最后的三种情况我们可以列出时间t和折返点之间的一个函数关系,可以直接求导得出折返点的坐标位置
printf("%.8lf\n",ans);
}
return QAQ;
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 1612kb
input:
2 10000.0 1.0 0.001 9999.0 0.001 4306.063 4079.874 0.607 1033.423 0.847
output:
5001000.00000000 3827.83700138
result:
ok 2 numbers
Test #2:
score: 0
Accepted
time: 0ms
memory: 1664kb
input:
1 10.0 1.0 10.0 9.0 0.1
output:
1.10000000
result:
ok found '1.1000000', expected '1.1000000', error '0.0000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 1636kb
input:
1 10.0 8.0 10.0 9.0 0.1
output:
1.20000000
result:
ok found '1.2000000', expected '1.2000000', error '0.0000000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 1612kb
input:
1 10.0 8.0 0.1 9.0 10
output:
1.10000000
result:
ok found '1.1000000', expected '1.1000000', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 1660kb
input:
1 10.0 2.0 0.1 3.0 10
output:
1.30000000
result:
ok found '1.3000000', expected '1.3000000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 1648kb
input:
1 10.0 9.0 0.1 8.0 10.0
output:
1.20000000
result:
ok found '1.2000000', expected '1.2000000', error '0.0000000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 1660kb
input:
1 10.0 4.0 0.1 6.0 0.1
output:
60.00000000
result:
ok found '60.0000000', expected '60.0000000', error '0.0000000'
Test #8:
score: 0
Accepted
time: 0ms
memory: 1632kb
input:
1 10.0 4.5 0.1 6.0 0.1
output:
57.50000000
result:
ok found '57.5000000', expected '57.5000000', error '0.0000000'
Test #9:
score: 0
Accepted
time: 0ms
memory: 1596kb
input:
1 10.0 1.0 1.0 8.0 1.0
output:
6.50000000
result:
ok found '6.5000000', expected '6.5000000', error '0.0000000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 1596kb
input:
1 10.0 3.0 2.0 7.0 1.0
output:
4.60000000
result:
ok found '4.6000000', expected '4.6000000', error '0.0000000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 1600kb
input:
1 10.0 6.0 2.0 7.0 1.0
output:
3.66666667
result:
ok found '3.6666667', expected '3.6666667', error '0.0000000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 1584kb
input:
1 10.0 1.0 1.0 9.0 1.0
output:
6.00000000
result:
ok found '6.0000000', expected '6.0000000', error '0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 1596kb
input:
1 10000.0 1.0 0.001 1.0 0.001
output:
9999000.00000000
result:
ok found '9999000.0000000', expected '9999000.0000000', error '0.0000000'
Test #14:
score: 0
Accepted
time: 0ms
memory: 1576kb
input:
1 10.0 5.0 1.0 5.0 1.5
output:
5.00000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #15:
score: 0
Accepted
time: 7ms
memory: 1612kb
input:
10000 4306.063 4079.874 0.607 1033.423 0.847 8967.336 8026.500 0.398 283.019 0.876 9568.147 4481.616 0.405 800.114 0.684 9867.264 6184.040 0.312 9853.164 0.641 3344.364 730.612 0.539 1305.868 0.947 9336.180 3672.113 0.773 432.686 0.312 1468.243 59.762 0.840 1438.446 0.827 1355.133 1096.314 0.373 109...
output:
3827.83700138 7999.36499215 12559.33580247 15371.55070203 2637.69851952 9931.04151754 934.49430114 2939.17962466 5754.03288987 2847.42715700 10975.32362822 2180.27860697 23747.04545455 6278.10355487 872.39770554 10734.39564428 1005.07702889 20225.16309013 9878.00994575 22899.25925926 12241.08592593 ...
result:
ok 10000 numbers
Test #16:
score: 0
Accepted
time: 10ms
memory: 1636kb
input:
10000 2030.871 179.860 3.339 226.899 5.608 4013.779 5.483 5.886 2655.711 6.577 2948.361 1567.653 5.641 1789.794 4.572 1539.149 427.003 6.957 936.942 3.945 1689.115 359.356 1.192 742.725 8.260 2381.830 1935.542 7.989 1021.393 9.984 2247.138 2095.797 6.333 411.074 8.188 4141.126 403.006 1.882 3801.489...
output:
321.67831669 364.07738841 310.43787330 186.46603953 294.41162228 178.52411216 193.48206046 556.83279115 1413.56369503 403.23022599 743.59150858 396.62882096 209.13011471 611.28506559 4769.78106756 631.17552866 679.60399109 2239.79251477 672.22648971 652.93272147 1108.77181528 362.00739424 602.398126...
result:
ok 10000 numbers
Test #17:
score: 0
Accepted
time: 10ms
memory: 1572kb
input:
10000 7410.440 722.688 93.147 7123.335 52.404 9827.385 9318.243 31.214 4329.764 21.512 2798.254 2287.444 57.751 2083.954 59.592 4104.975 2145.078 39.914 2322.922 97.161 4508.679 124.615 97.618 557.945 7.666 6167.965 5462.271 20.812 2289.103 40.872 1863.334 130.781 49.124 590.990 21.907 5210.765 2592...
output:
57.85073960 201.27203421 34.97036515 49.10299644 47.46352107 138.89418881 35.26897240 38.46757082 75.20728995 101.62595559 25.94418846 21.00791766 82.05159024 99.57752852 27.58294367 197.46295463 44.70469845 62.48872110 23.47303449 54.74007243 6.26203425 146.08261556 149.73375842 187.19404556 48.955...
result:
ok 10000 numbers
Test #18:
score: 0
Accepted
time: 9ms
memory: 1660kb
input:
10000 1825.114 831.869 305.812 812.010 435.352 6204.189 975.074 324.820 3197.714 486.818 6707.302 6252.291 617.962 3000.007 202.516 3950.818 1276.312 795.686 1233.053 192.740 7727.851 7014.938 925.386 5422.995 990.049 1828.700 1059.091 897.131 796.832 289.580 4364.009 801.827 108.050 138.855 698.515...
output:
2.72019738 9.98897540 11.59021590 6.39749403 5.47750162 2.75168175 6.44633830 0.95129554 6.05187502 2.50752916 4.37908386 11.43475643 3.99979696 54.45771555 36.47742479 5.95213765 6.60594843 8.18240344 1.93854678 7.15192488 8.68507513 18.80980340 30.84550659 15.20647719 8.89824310 5.87049209 1.09872...
result:
ok 10000 numbers
Test #19:
score: 0
Accepted
time: 10ms
memory: 1664kb
input:
10000 1446.181 378.832 0.559 1049.957 0.581 8184.065 2784.411 0.567 5802.192 0.817 7897.823 922.465 0.430 2717.563 0.164 6798.147 101.965 0.861 968.021 0.766 2665.200 708.829 0.367 829.609 0.812 8278.765 4043.152 0.338 3510.780 0.746 9966.278 5152.481 0.628 9362.702 0.481 7225.976 4372.737 0.713 451...
output:
1857.28596491 8093.81936416 16570.50609756 7611.13054830 2363.00254453 11961.98816568 10054.85974843 6132.87096774 1324.97701904 8439.46776860 4670.27661553 1876.10613599 6135.13224108 3193.46169990 23257.13846154 3276.56386555 9436.19808307 8553.58888889 20206.18101545 8066.11575563 2850.70457355 7...
result:
ok 10000 numbers
Test #20:
score: 0
Accepted
time: 10ms
memory: 1668kb
input:
10000 137.466 34.152 5.369 35.774 9.633 864.049 460.741 7.827 20.803 6.253 7772.734 4848.655 5.826 7486.943 2.751 51.039 18.541 3.274 4.546 4.781 2738.460 1134.632 7.353 190.640 0.845 2650.223 2047.426 7.127 2596.012 8.020 7144.450 4170.830 1.091 6484.852 6.327 4486.617 2202.655 2.404 53.792 5.306 9...
output:
10.55662826 67.20090493 994.73825918 9.72453462 449.18907051 287.27739582 1233.45155682 855.71221259 2917.18170294 663.20163690 738.76145711 624.35022808 657.39752103 267.80663388 2696.93398846 514.52194529 1528.50890171 304.01208815 1157.41827584 201.97951027 230.89426523 13.68192360 1183.39165187 ...
result:
ok 10000 numbers
Test #21:
score: 0
Accepted
time: 10ms
memory: 1632kb
input:
10000 6755.269 1412.870 9.877 2922.765 69.970 5809.463 1729.065 28.186 157.659 45.884 6302.936 3.007 88.634 2503.641 71.482 9471.893 5335.396 60.750 2351.889 46.506 1852.860 485.692 31.691 792.772 0.251 3760.662 837.606 43.039 302.039 3.592 5202.253 1919.974 87.263 790.867 91.590 4393.623 1307.664 8...
output:
138.31690725 123.17592189 53.15037352 116.12776908 73.79230696 92.13246553 37.61363923 86.27234004 320.49759664 1.99028703 112.74389006 90.46356278 229.15294362 186.17923629 58.19929912 73.70458110 1.92185976 12.91633063 15.06033445 91.31011906 61.14698191 12.92677980 2.98310338 52.31751064 21.28792...
result:
ok 10000 numbers
Test #22:
score: 0
Accepted
time: 9ms
memory: 1572kb
input:
10000 4561.066 3561.125 347.570 22.417 384.727 2245.766 1947.734 373.385 1583.280 767.308 9178.623 6896.214 129.852 8552.670 569.435 4123.959 3302.922 845.031 3107.197 536.921 9684.190 1373.220 417.970 6785.207 582.747 3908.264 3810.105 794.444 1678.987 885.395 1218.900 883.339 486.245 432.328 689.8...
output:
7.31141408 2.28827564 17.21807757 3.90864004 13.54480375 2.55987654 1.41983539 5.39730255 13.34974160 0.21306524 54.13529292 6.16497612 20.99245909 4.32544015 50.74869681 3.77740869 6.69610419 4.45668418 1.39083764 7.39757391 3.89662408 2.98235394 9.35098767 7.48501449 5.83758665 2.28759530 4.516840...
result:
ok 10000 numbers
Test #23:
score: 0
Accepted
time: 9ms
memory: 1648kb
input:
10000 8829.410 5837.483 0.025 6497.985 90.734 8571.821 4446.483 0.444 7096.946 443.881 4885.562 4543.189 0.577 4181.326 689.854 1773.759 1089.873 0.250 584.675 17.809 9380.505 2300.466 0.662 4771.696 763.116 8097.494 1695.329 0.228 3721.817 261.367 2610.676 602.316 0.789 885.868 885.685 2783.702 221...
output:
123.00609474 22.63375995 8.10287104 132.42933348 18.33183160 45.22112968 3.94784150 7.13551818 138.22651439 14.89609952 20.82945511 80.16832406 2.91494118 4.01375276 0.34292182 14.40810163 15.13789383 10.46301310 17.58347798 24.48740487 4.47685240 11.63011823 12.56908041 4.96617926 1.00348257 1.5328...
result:
ok 10000 numbers
Test #24:
score: 0
Accepted
time: 9ms
memory: 1660kb
input:
10000 2249.884 511.364 7.379 1791.261 521.922 3286.767 1256.282 2.130 1011.930 750.770 6649.538 3604.051 3.574 523.009 443.247 259.924 246.031 4.477 182.827 131.182 6256.893 3619.190 5.039 655.815 832.185 201.818 174.860 1.245 73.051 235.173 967.278 181.624 9.270 775.260 824.343 7585.518 3383.271 9....
output:
5.18948617 5.72571760 16.18182864 2.56911009 8.30669623 1.16879489 1.40632722 12.43101695 25.38112495 4.50459778 11.24132964 30.98342588 4.34194180 6.84858453 48.94944676 10.85615038 12.88357072 32.07254704 411.77406760 4.45755675 26.39590181 8.56621283 4.65907598 45.38120244 2.31296176 4.21231435 2...
result:
ok 10000 numbers
Test #25:
score: 0
Accepted
time: 9ms
memory: 1660kb
input:
10000 7243.562 6060.438 24.630 1457.089 534.665 9598.725 8617.536 48.786 2412.051 591.887 372.483 48.994 74.031 190.511 168.965 8820.924 8138.195 3.707 8383.440 784.084 677.119 288.434 24.515 569.815 987.734 3351.665 3123.984 41.357 1456.155 672.889 906.765 117.449 15.457 536.818 123.740 4324.663 36...
output:
16.27308876 20.11210183 2.08493914 11.80792874 0.79416422 6.76787696 9.26448161 13.50252724 14.39315623 11.10279573 15.50423462 69.72530751 12.48817708 58.74597151 13.79616169 44.55577077 18.98777760 0.92138102 22.54616620 4.80635294 42.26401627 35.18251381 10.76947393 10.96721734 7.33116339 30.1587...
result:
ok 10000 numbers
Test #26:
score: 0
Accepted
time: 9ms
memory: 1664kb
input:
10000 4273.971 3319.964 412.722 3084.631 0.371 9486.875 2325.044 247.106 5565.693 0.123 6541.208 5974.260 668.802 3918.890 0.616 6617.241 3120.168 259.521 975.622 0.981 6747.529 982.828 617.311 4159.620 0.163 8490.455 5235.975 261.806 4759.763 0.927 4527.356 634.417 962.224 1951.397 0.815 2843.028 2...
output:
12.66706887 47.80102061 10.62819190 37.52069775 12.52262960 44.86121403 5.36441930 7.38796587 8.22779193 111.06681748 6.32792294 13.99152943 8.44915303 0.19478317 2.45208693 39.41474277 2.09231169 5.15907182 4.67116860 0.22718191 1.23802233 6.15138914 465.57818660 4.49419579 25.47764669 3.59413222 1...
result:
ok 10000 numbers
Test #27:
score: 0
Accepted
time: 9ms
memory: 1596kb
input:
10000 6484.027 2686.920 302.591 1902.202 5.835 8201.810 2963.766 412.892 5729.465 8.036 3020.670 211.504 439.339 537.532 8.528 8669.591 8286.396 498.327 1961.743 5.685 7398.433 578.851 211.801 823.970 5.493 689.984 639.947 655.884 425.484 5.438 5785.008 377.037 305.174 5009.622 2.055 3647.568 1584.3...
output:
30.30806270 27.04236459 7.35690207 18.16635663 37.66405258 1.12828031 20.19190691 7.71137114 1249.55644801 10.96036600 2.92645867 3.79568851 24.80674453 20.55955369 8.56613628 12.59107176 1.20474787 5.07827276 3.69737640 109.62871395 12.48188520 61.17392122 12.71790463 3.75871868 33.01177028 34.8949...
result:
ok 10000 numbers
Test #28:
score: 0
Accepted
time: 9ms
memory: 1592kb
input:
10000 79.843 18.768 777.911 61.283 24.730 8883.631 1902.553 596.364 1892.997 74.484 5024.116 4303.922 72.518 3737.238 46.887 7908.447 2754.154 544.654 5008.230 43.086 7786.323 3377.984 451.639 592.947 59.782 3767.995 1230.199 61.043 2617.153 12.472 2627.587 2190.160 278.163 2257.870 66.853 2168.924 ...
output:
0.12676386 18.08657800 59.34970628 19.57683410 20.67056300 81.87988795 7.87365681 3.77195427 14.89986800 19.70205613 28.22354966 6.45130949 10.05488734 44.23427400 9.82755623 30.89551128 12.43079273 0.20417795 2.55929593 4.07434980 1.45908073 9.67887417 4.13438423 1.24269096 7.14509555 7.73723338 17...
result:
ok 10000 numbers
Test #29:
score: 0
Accepted
time: 10ms
memory: 1612kb
input:
10000 9542.809 5274.877 0.956 5222.401 0.731 4232.306 2434.616 0.649 2460.142 0.916 1873.176 897.834 0.350 1697.991 0.195 4744.725 441.897 0.658 2894.314 0.937 5228.307 5108.684 0.485 3294.551 0.055 5478.150 4412.917 0.525 1664.207 0.234 4102.027 2600.457 0.078 873.996 0.568 431.474 170.484 0.627 40...
output:
5910.27086183 2769.93836672 4322.82162162 3782.88193520 11026.65979381 8896.07398754 8760.60387324 392.62550201 1483.14139693 405.09930070 26164.46696035 5774.74694926 5941.83280757 495.72072072 1641.21001391 14621.42174432 2391.58739596 14584.19254658 11730.97331910 8158.01207243 5035.65384615 9965...
result:
ok 10000 numbers
Test #30:
score: 0
Accepted
time: 10ms
memory: 1612kb
input:
10000 616.297 555.460 2.712 474.476 9.362 2168.839 71.552 7.223 970.694 8.902 7964.311 6380.675 4.152 5635.978 6.625 9607.475 3434.832 7.253 1584.385 0.592 5799.614 5169.057 4.596 3833.295 0.230 7720.882 390.768 8.103 7324.917 3.768 5649.791 5069.866 2.370 105.385 1.825 5422.928 3232.441 7.452 4538....
output:
57.75062117 140.59606819 850.71366038 1798.19481594 1399.07985205 716.67214220 1510.15518474 433.76825013 470.06374786 383.70941322 213.00399304 3738.68667007 1640.15519921 1232.96504113 796.38181907 41.45110996 165.51886154 468.05334805 98.53028110 2269.12684771 437.53871274 44.82498839 609.0693437...
result:
ok 10000 numbers
Test #31:
score: 0
Accepted
time: 6ms
memory: 1656kb
input:
10000 3175.823 2209.793 82.310 1567.313 98.952 2827.194 499.952 3.540 1286.031 72.053 7329.159 2813.118 2.508 4244.383 27.919 8594.610 4029.204 23.857 8321.213 31.852 5962.615 5857.484 39.588 4384.499 70.911 3645.911 3134.350 54.596 3338.925 52.037 6012.818 4856.771 25.465 754.753 27.901 3172.603 10...
output:
21.06510466 57.08610329 373.00530105 168.88980174 61.83101352 57.40988351 148.47689540 37.59417086 80.89344334 58.93357990 33.01093807 111.48533829 31.51217286 43.94249072 23.73374088 462.12150731 36.51724096 75.56131588 28.73632807 10.91706747 27.39354185 65.89059702 14.70737450 247.94407708 61.987...
result:
ok 10000 numbers
Test #32:
score: 0
Accepted
time: 9ms
memory: 1580kb
input:
10000 4197.462 512.718 652.359 4141.106 467.865 5109.145 3908.285 532.258 3918.179 760.827 2270.950 1917.740 686.288 1636.492 692.151 7140.163 1720.169 130.377 3485.891 646.676 8529.796 647.634 488.630 187.430 402.587 5060.451 1839.250 299.785 2550.323 471.767 3291.054 1406.512 422.556 2025.605 660....
output:
4.25498472 5.14989479 2.36435691 13.19380719 16.13114627 7.48040832 3.61078411 15.44961772 9.81720005 10.67886123 15.77992141 13.73716494 0.28949690 17.04911820 5.52769029 9.38847366 10.56703248 7.59542435 7.92701083 5.87399037 11.06997339 5.76105704 23.54578295 5.95477998 1.91985157 2.01332691 9.42...
result:
ok 10000 numbers
Test #33:
score: 0
Accepted
time: 10ms
memory: 1616kb
input:
10000 6491.440 263.052 0.612 4463.729 0.057 8416.331 2796.304 0.010 4069.752 0.561 9945.956 4364.938 0.183 2796.397 0.971 1610.200 955.609 0.311 744.558 0.254 4549.143 692.713 0.608 4294.098 0.216 4420.735 1586.324 0.793 2885.942 0.668 2600.062 905.998 0.673 1208.863 0.518 6302.317 1143.434 0.967 36...
output:
11036.75163399 22256.83244207 13122.91761071 3223.45309735 6670.99635922 3915.36824093 2517.18276374 5334.93588418 2742.95673671 2157.26916803 4920.54580897 5747.79092920 4218.09461078 23296.61348315 4009.67667044 9100.80382775 4840.49056604 1858.21857259 5063.41564246 2966.94166667 3530.42521008 56...
result:
ok 10000 numbers
Test #34:
score: 0
Accepted
time: 10ms
memory: 1648kb
input:
10000 5814.653 4387.399 8.508 2017.157 7.579 6595.988 920.952 3.117 117.566 5.086 8638.418 6297.549 9.225 2726.041 5.342 8734.179 1039.937 0.001 1872.197 1.970 4615.143 2153.007 5.456 1176.554 4.631 9570.635 2272.548 7.278 5343.475 7.017 6881.313 6797.896 4.491 6728.005 0.625 1923.466 1483.809 4.916...
output:
506.87769872 1273.77546205 808.36133995 5383.94720812 554.33686924 884.33452256 1513.67089735 179.88834549 646.41059825 376.25945886 65.78451636 1243.60807209 1179.41144479 306.92027532 24.25128515 21.98677249 96.32213527 544.78046392 314.13624969 533.31459220 450.32038960 894.61759868 513.16275032 ...
result:
ok 10000 numbers
Test #35:
score: 0
Accepted
time: 10ms
memory: 1616kb
input:
10000 6027.310 5182.885 36.334 1603.878 34.613 7365.488 4336.309 45.531 7230.661 11.569 9564.388 2648.221 82.713 6012.244 63.135 6988.888 3128.278 35.234 3564.273 47.380 8848.165 1805.102 56.693 4783.225 20.663 8277.878 6188.089 37.845 4542.273 83.559 27.775 17.267 41.560 6.784 95.735 5979.300 436.5...
output:
113.15696162 155.30036843 88.64304619 89.87439175 187.91150583 81.74107937 0.25283927 98.18539132 21.59100259 82.16838254 13.13699267 38.37024360 10.80724961 18.06542575 19.73319999 107.49988493 63.71930588 92.68050111 98.27722107 196.16397064 78.83032691 114.74304571 78.35596171 48.42385606 83.0020...
result:
ok 10000 numbers
Test #36:
score: 0
Accepted
time: 9ms
memory: 1608kb
input:
10000 2192.374 568.292 888.021 955.204 749.264 603.894 517.819 271.774 122.537 28.760 2287.769 1998.099 812.993 1256.575 86.429 4978.016 2976.499 978.610 2847.919 532.226 7765.964 695.995 338.383 4706.174 875.771 7285.311 2898.545 564.010 6976.814 454.021 7785.744 4775.283 114.582 4118.970 499.754 2...
output:
1.65118036 2.53876015 3.17030897 4.00224153 8.92998235 8.34825876 22.91631082 1.93584753 7.20063659 3.62103891 5.91978342 0.94558710 14.29574477 3.24648050 12.86495688 14.94980122 0.32767652 1.69321810 7.20874918 2.22843112 6.01036257 12.04102463 5.74800673 9.56812334 5.80625183 0.26042042 3.8563894...
result:
ok 10000 numbers
Test #37:
score: 0
Accepted
time: 9ms
memory: 1608kb
input:
10000 2020.668 1663.741 0.698 1285.586 629.089 4539.473 4160.328 0.704 260.728 176.842 7007.399 5441.320 0.365 4050.391 466.298 9314.056 6905.604 0.059 5053.649 331.377 3829.895 1143.108 0.071 568.724 325.918 4244.209 2163.188 0.739 1853.569 236.974 2807.981 1079.306 0.361 170.316 687.958 9004.878 2...
output:
4.38054075 27.14400991 21.36918237 40.96380557 13.49609104 25.73184400 4.32918434 17.65046904 10.07115154 26.88771900 14.16931362 29.29151129 10.31183881 1.82006503 11.56585520 9.57556075 60.76350985 25.29760703 9.78614457 14.76581217 9.44545132 12.23520439 8.38326357 34.35359419 1465.78621948 6.957...
result:
ok 10000 numbers
Test #38:
score: 0
Accepted
time: 9ms
memory: 1576kb
input:
10000 3717.972 3142.967 5.931 2429.240 170.491 2908.706 1825.965 8.312 962.852 417.840 7613.768 5226.429 5.643 799.607 753.933 9492.108 4544.976 9.432 4840.440 539.737 19.246 0.358 5.839 11.131 738.263 3815.529 2623.704 6.269 375.970 34.841 3329.533 1411.036 3.480 2589.723 863.745 578.480 179.346 0....
output:
29.36638298 9.26564714 11.15931389 26.20494055 0.03706132 120.30363652 4.71127821 2.84141369 7.50730345 0.90232605 6.11046668 4.15195604 5.80899031 3.51037958 147.98094757 76.06344334 21.03430769 2.82522130 3.77025945 3.10898614 54.47510098 11.25066505 2.18735574 9.75072035 2.02219948 5.57343547 143...
result:
ok 10000 numbers
Test #39:
score: 0
Accepted
time: 9ms
memory: 1636kb
input:
10000 8537.609 410.814 41.414 4477.344 937.332 5963.377 3364.450 58.406 4889.028 668.640 9878.651 9139.894 33.339 2125.915 801.525 9132.595 2105.145 10.521 7889.568 151.624 6517.774 4769.229 19.831 2777.674 86.571 1362.331 286.311 26.347 730.377 565.421 1935.462 1698.608 50.307 531.715 326.010 2338....
output:
12.87784471 10.52543372 14.97715729 68.42994513 88.17230599 3.52707982 6.68847987 3.61521312 17.43351003 234.54833564 65.26039465 22.83653846 18.40680843 12.13577336 16.30999941 18.56686049 16.28415151 12.60934238 2.66617565 0.98922958 8.82038714 0.44670604 77.02912329 26.14299343 74.54026527 3.3264...
result:
ok 10000 numbers
Test #40:
score: 0
Accepted
time: 9ms
memory: 1664kb
input:
10000 9086.117 3389.059 489.165 7338.681 0.860 9665.351 2994.701 384.137 4685.619 0.743 2393.769 564.003 683.751 910.617 0.117 9249.801 5124.267 231.201 5484.051 0.795 1147.773 61.855 370.167 671.487 0.183 2556.588 2488.357 334.094 2294.805 0.212 4419.888 327.523 77.624 529.604 0.473 45.298 35.976 7...
output:
25.50300205 32.95712727 4.32580281 57.85154476 3.26778994 7.85652840 61.15906163 0.07727306 11.23169330 14.34406122 14.04373053 7.58958636 17.12271121 17.10841100 15.77417375 6.33349706 0.62725649 8.27347780 17.05208732 43.32666851 32.60702591 12.07416739 60.41040784 14.06247001 4.85171288 11.346504...
result:
ok 10000 numbers
Test #41:
score: 0
Accepted
time: 9ms
memory: 1620kb
input:
10000 7952.115 6398.736 998.438 777.594 9.812 7566.853 1823.315 779.074 940.147 7.810 9017.604 8575.481 4.512 5563.192 9.214 7901.775 1889.838 3.283 5633.071 1.536 1160.786 234.178 148.408 147.537 1.571 9270.991 3202.941 63.612 1105.311 7.810 8404.159 8180.701 329.384 5481.727 1.457 1673.235 938.382...
output:
9.52036481 12.05298598 732.33150565 2137.06763762 9.39952024 159.17533813 26.19318789 4.79487716 0.57827680 14.07474544 16.86729005 12.45680174 11.85901619 165.52267848 18.24087630 20.93374343 11.53840680 0.42216462 2.85704419 5.84261222 3.18598645 9.38778946 15.89905623 27.10244842 55.86821955 3.34...
result:
ok 10000 numbers
Test #42:
score: 0
Accepted
time: 6ms
memory: 1596kb
input:
10000 6341.185 4082.301 594.696 5937.685 27.398 5248.282 2361.618 605.984 2015.934 27.045 4721.771 2093.972 56.018 4501.895 12.151 3252.822 1067.100 984.173 2815.232 34.818 8594.274 1453.718 12.363 8326.995 25.914 6811.364 6631.455 37.520 750.151 5.005 8432.092 1632.518 780.309 2257.048 69.123 5406....
output:
14.46128610 12.55792232 96.97861056 4.38939292 253.45278933 165.31194953 12.89823647 9.32313146 21.45621261 8.58193387 8.84585529 8.73225910 2.06327283 13.04549143 43.66411933 7.05530947 0.44750655 15.16394199 25.85733774 16.30520307 188.71091567 9.46959512 4.96964089 47.57887698 8.08745718 44.14573...
result:
ok 10000 numbers
Test #43:
score: 0
Accepted
time: 0ms
memory: 1608kb
input:
1 0.002 0.000 1000 0.002 1000
output:
0.00000100
result:
ok found '0.0000010', expected '0.0000010', error '0.0000000'
Extra Test:
score: 0
Extra Test Passed