QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#647888 | #8022. Walker | gjlccc | AC ✓ | 22ms | 4000kb | C++17 | 1.2kb | 2024-10-17 16:04:01 | 2024-10-17 16:04:01 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define ld double
#define ll long long
ld n, p1, v1, p2, v2;
ld js(ld p, ld v, ld l, ld r) { return ((min(p - l, r - p) + (r - l)) / v); }
void solve() {
cin >> n >> p1 >> v1 >> p2 >> v2;
if (p1 > p2) {
swap(v1, v2);
// ld tp1 = n - p1;
// ld tp2 = n - p2;
// p1 = tp1;
// p2 = tp2;
swap(p1, p2);
}
// cout << p1 << " " << p2 << "\n";
ld ans = 1e9 + 10;
// p1
ans = min(ans, min(js(p1, v1, 0, n), js(p2, v2, 0, n)));
// cout << ans << "\n";
// p2
ans = min(ans, max(js(p1, v1, p1, n), js(p2, v2, 0, p2)));
// cout << ans << "\n";
// p3
ld l = p1, r = p2;
ll ti = 60;
while (ti--) {
ld mid = (l + r) / 2;
// cout << mid << "\n";
ld t1 = js(p1, v1, 0, mid);
ld t2 = js(p2, v2, mid, n);
// cout << t1 << " " << t2 << "\n";
ans = min(ans, max(t1, t2));
// cout << ans << "\n";
if (t1 < t2)
l = mid;
else
r = mid;
}
cout << fixed << setprecision(12) << ans << "\n";
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll t = 1;
cin >> t;
while (t--) {
solve();
}
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3936kb
input:
2 10000.0 1.0 0.001 9999.0 0.001 4306.063 4079.874 0.607 1033.423 0.847
output:
5001000.000000000000 3827.837001375516
result:
ok 2 numbers
Test #2:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
1 10.0 1.0 10.0 9.0 0.1
output:
1.100000000000
result:
ok found '1.1000000', expected '1.1000000', error '0.0000000'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
1 10.0 8.0 10.0 9.0 0.1
output:
1.200000000000
result:
ok found '1.2000000', expected '1.2000000', error '0.0000000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3940kb
input:
1 10.0 8.0 0.1 9.0 10
output:
1.100000000000
result:
ok found '1.1000000', expected '1.1000000', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3988kb
input:
1 10.0 2.0 0.1 3.0 10
output:
1.300000000000
result:
ok found '1.3000000', expected '1.3000000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
1 10.0 9.0 0.1 8.0 10.0
output:
1.200000000000
result:
ok found '1.2000000', expected '1.2000000', error '0.0000000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
1 10.0 4.0 0.1 6.0 0.1
output:
60.000000000000
result:
ok found '60.0000000', expected '60.0000000', error '0.0000000'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
1 10.0 4.5 0.1 6.0 0.1
output:
57.500000000000
result:
ok found '57.5000000', expected '57.5000000', error '0.0000000'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
1 10.0 1.0 1.0 8.0 1.0
output:
6.500000000000
result:
ok found '6.5000000', expected '6.5000000', error '0.0000000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
1 10.0 3.0 2.0 7.0 1.0
output:
4.600000000000
result:
ok found '4.6000000', expected '4.6000000', error '0.0000000'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
1 10.0 6.0 2.0 7.0 1.0
output:
3.666666666667
result:
ok found '3.6666667', expected '3.6666667', error '0.0000000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
1 10.0 1.0 1.0 9.0 1.0
output:
6.000000000000
result:
ok found '6.0000000', expected '6.0000000', error '0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
1 10000.0 1.0 0.001 1.0 0.001
output:
9999000.000000000000
result:
ok found '9999000.0000000', expected '9999000.0000000', error '0.0000000'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
1 10.0 5.0 1.0 5.0 1.5
output:
5.000000000000
result:
ok found '5.0000000', expected '5.0000000', error '0.0000000'
Test #15:
score: 0
Accepted
time: 21ms
memory: 3988kb
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.837001375516 7999.364992150706 12559.335802469137 15371.550702028082 2637.698519515478 9931.041517537580 934.494301139772 2939.179624664880 5754.032889874353 2847.427157001414 10975.323628219485 2180.278606965174 23747.045454545456 6278.103554868625 872.397705544933 10734.395644283122 1005.0770...
result:
ok 10000 numbers
Test #16:
score: 0
Accepted
time: 17ms
memory: 3928kb
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.678316690442 364.077388413538 310.437873298737 186.466039531889 294.411622276029 178.524112163932 193.482060464155 556.832791151594 1413.563695028681 403.230225988701 743.591508581752 396.628820960699 209.130114714118 611.285065590313 4769.781067556297 631.175528663978 679.603991092092 2239.7925...
result:
ok 10000 numbers
Test #17:
score: 0
Accepted
time: 17ms
memory: 3988kb
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.850739603301 201.272034213462 34.970365149685 49.102996442351 47.463521071933 138.894188809154 35.268972396385 38.467570816348 75.207289949260 101.625955590680 25.944188464148 21.007917656374 82.051590240837 99.577528521281 27.582943665108 197.462954634887 44.704698446916 62.488721103654 23.47303...
result:
ok 10000 numbers
Test #18:
score: 0
Accepted
time: 19ms
memory: 3748kb
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.720197376166 9.988975395483 11.590215903243 6.397494033413 5.477501618607 2.751681745977 6.446338303401 0.951295543792 6.051875018701 2.507529157485 4.379083857249 11.434756432507 3.999796956425 54.457715548221 36.477424790415 5.952137649433 6.605948427417 8.182403444009 1.938546782521 7.151924875...
result:
ok 10000 numbers
Test #19:
score: 0
Accepted
time: 22ms
memory: 3996kb
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.285964912281 8093.819364161850 16570.506097560974 7611.130548302872 2363.002544529262 11961.988165680472 10054.859748427676 6132.870967741938 1324.977019041366 8439.467768595041 4670.276615527662 1876.106135986733 6135.132241076653 3193.461699895068 23257.138461538460 3276.563865546218 9436.198...
result:
ok 10000 numbers
Test #20:
score: 0
Accepted
time: 17ms
memory: 3892kb
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.556628257033 67.200904932868 994.738259180791 9.724534616189 449.189070505001 287.277395818718 1233.451556819978 855.712212589521 2917.181702936827 663.201636904762 738.761457109283 624.350228079068 657.397521027003 267.806633880925 2696.933988464004 514.521945288754 1528.508901705115 304.0120881...
result:
ok 10000 numbers
Test #21:
score: 0
Accepted
time: 21ms
memory: 3872kb
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.316907245963 123.175921889983 53.150373520607 116.127769075856 73.792306964122 92.132465527224 37.613639228539 86.272340036563 320.497596642069 1.990287027644 112.743890056646 90.463562784008 229.152943623161 186.179236291067 58.199299119793 73.704581103525 1.921859760912 12.916330631746 15.0603...
result:
ok 10000 numbers
Test #22:
score: 0
Accepted
time: 20ms
memory: 3744kb
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.311414078838 2.288275635951 17.218077568116 3.908640038058 13.544803751638 2.559876537971 1.419835392346 5.397302547512 13.349741601400 0.213065236537 54.135292916044 6.164976117422 20.992459085464 4.325440146999 50.748696810197 3.777408686344 6.696104187007 4.456684175980 1.390837644927 7.3975739...
result:
ok 10000 numbers
Test #23:
score: 0
Accepted
time: 18ms
memory: 3928kb
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.006094738466 22.633759949176 8.102871042279 132.429333483070 18.331831595721 45.221129675896 3.947841501211 7.135518183007 138.226514390532 14.896099521015 20.829455108772 80.168324058024 2.914941177560 4.013752757649 0.342921819066 14.408101629766 15.137893826884 10.463013096598 17.583477975404...
result:
ok 10000 numbers
Test #24:
score: 0
Accepted
time: 18ms
memory: 3876kb
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.189486168431 5.725717596601 16.181828641818 2.569110091324 8.306696227401 1.168794887168 1.406327220587 12.431016952286 25.381124950033 4.504597780296 11.241329644143 30.983425884270 4.341941801508 6.848584528183 48.949446758106 10.856150376182 12.883570718781 32.072547040402 411.774067599068 4.45...
result:
ok 10000 numbers
Test #25:
score: 0
Accepted
time: 19ms
memory: 3932kb
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.273088756511 20.112101832493 2.084939137676 11.807928742329 0.794164218302 6.767876955019 9.264481605860 13.502527239774 14.393156226325 11.102795732420 15.504234624336 69.725307506308 12.488177081791 58.745971507332 13.796161691211 44.555770770662 18.987777598103 0.921381016554 22.546166199759 4...
result:
ok 10000 numbers
Test #26:
score: 0
Accepted
time: 18ms
memory: 3744kb
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.667068874448 47.801020614635 10.628191901340 37.520697747003 12.522629598371 44.861214028708 5.364419303613 7.387965868637 8.227791930785 111.066817480412 6.327922944416 13.991529427327 8.449153028449 0.194783165986 2.452086927252 39.414742767754 2.092311691312 5.159071815035 4.671168599903 0.227...
result:
ok 10000 numbers
Test #27:
score: 0
Accepted
time: 18ms
memory: 3940kb
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.308062698494 27.042364589287 7.356902073342 18.166356629282 37.664052577655 1.128280305664 20.191906912122 7.711371143305 1249.556448014279 10.960366004559 2.926458666729 3.795688509290 24.806744531178 20.559553694342 8.566136275530 12.591071762135 1.204747870879 5.078272763901 3.697376400858 109...
result:
ok 10000 numbers
Test #28:
score: 0
Accepted
time: 19ms
memory: 3936kb
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.126763858591 18.086577995989 59.349706279820 19.576834100181 20.670562999955 81.879887947840 7.873656812732 3.771954267329 14.899867998961 19.702056132415 28.223549659631 6.451309493721 10.054887340316 44.234273995809 9.827556230787 30.895511281503 12.430792731194 0.204177946972 2.559295929956 4.0...
result:
ok 10000 numbers
Test #29:
score: 0
Accepted
time: 21ms
memory: 3888kb
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.270861833104 2769.938366718027 4322.821621621621 3782.881935197515 11026.659793814431 8896.073987538939 8760.603873239437 392.625502008032 1483.141396933561 405.099300699301 26164.466960352427 5774.746949261400 5941.832807570978 495.720720720721 1641.210013908206 14621.421744324973 2391.5873959...
result:
ok 10000 numbers
Test #30:
score: 0
Accepted
time: 21ms
memory: 3996kb
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.750621169455 140.596068185712 850.713660377359 1798.194815938233 1399.079852045257 716.672142195266 1510.155184743743 433.768250134192 470.063747860810 383.709413216650 213.003993037780 3738.686670071502 1640.155199208816 1232.965041128085 796.381819073783 41.451109963862 165.518861543264 468.053...
result:
ok 10000 numbers
Test #31:
score: 0
Accepted
time: 21ms
memory: 4000kb
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.065104655140 57.086103285082 373.005301049464 168.889801735340 61.831013523995 57.409883507949 148.476895401567 37.594170860118 80.893443338279 58.933579901081 33.010938068962 111.485338285531 31.512172863080 43.942490721346 23.733740883472 462.121507313647 36.517240963274 75.561315875033 28.7363...
result:
ok 10000 numbers
Test #32:
score: 0
Accepted
time: 19ms
memory: 3864kb
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.254984717342 5.149894785543 2.364356910559 13.193807189918 16.131146266091 7.480408319854 3.610784110931 15.449617724559 9.817200046485 10.678861226217 15.779921414769 13.737164938568 0.289496897642 17.049118201295 5.527690291887 9.388473664764 10.567032479843 7.595424350835 7.927010830526 5.87399...
result:
ok 10000 numbers
Test #33:
score: 0
Accepted
time: 21ms
memory: 3864kb
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.751633986927 22256.832442067735 13122.917610710607 3223.453097345133 6670.996359223302 3915.368240930869 2517.182763744428 5334.935884177869 2742.956736711990 2157.269168026101 4920.545808966862 5747.790929203539 4218.094610778444 23296.613483146069 4009.676670441676 9100.803827751197 4840.490...
result:
ok 10000 numbers
Test #34:
score: 0
Accepted
time: 21ms
memory: 3888kb
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.877698719252 1273.775462052694 808.361339946200 5383.947208121827 554.336869237633 884.334522560336 1513.670897350256 179.888345490716 646.410598252297 376.259458864936 65.784516362977 1243.608072090367 1179.411444786001 306.920275323831 24.251285152706 21.986772486772 96.322135267545 544.780463...
result:
ok 10000 numbers
Test #35:
score: 0
Accepted
time: 21ms
memory: 3932kb
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.156961624146 155.300368434082 88.643046185069 89.874391749582 187.911505829644 81.741079371355 0.252839268527 98.185391322785 21.591002585464 82.168382542740 13.136992670386 38.370243600897 10.807249611315 18.065425746842 19.733199990532 107.499884934413 63.719305881462 92.680501107892 98.277221...
result:
ok 10000 numbers
Test #36:
score: 0
Accepted
time: 19ms
memory: 3876kb
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.651180358325 2.538760146298 3.170308969450 4.002241528975 8.929982345026 8.348258757163 22.916310824926 1.935847527405 7.200636585868 3.621038909048 5.919783424704 0.945587102593 14.295744768196 3.246480495680 12.864956881613 14.949801215440 0.327676522911 1.693218097638 7.208749179455 2.228431123...
result:
ok 10000 numbers
Test #37:
score: 0
Accepted
time: 14ms
memory: 3884kb
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.380540750196 27.144009907149 21.369182368357 40.963805574919 13.496091041305 25.731843999764 4.329184339742 17.650469039531 10.071151541482 26.887719002451 14.169313621158 29.291511292142 10.311838813742 1.820065033409 11.565855204394 9.575560747405 60.763509850794 25.297607031192 9.786144565527 1...
result:
ok 10000 numbers
Test #38:
score: 0
Accepted
time: 19ms
memory: 3988kb
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.366382976227 9.265647137660 11.159313891287 26.204940554381 0.037061318257 120.303636520192 4.711278212898 2.841413685757 7.507303451594 0.902326050832 6.110466679326 4.151956038615 5.808990308938 3.510379582337 147.980947566312 76.063443335892 21.034307691419 2.825221300212 3.770259452813 3.1089...
result:
ok 10000 numbers
Test #39:
score: 0
Accepted
time: 19ms
memory: 3884kb
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.877844711498 10.525433716200 14.977157293908 68.429945127420 88.172305985578 3.527079821938 6.688479867640 3.615213117307 17.433510032731 234.548335637563 65.260394653309 22.836538461538 18.406808430383 12.135773360333 16.309999411792 18.566860486360 16.284151507720 12.609342383155 2.666175653019...
result:
ok 10000 numbers
Test #40:
score: 0
Accepted
time: 18ms
memory: 3876kb
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.503002054521 32.957127274905 4.325802814182 57.851544759754 3.267789943458 7.856528402186 61.159061630424 0.077273061666 11.231693296307 14.344061218594 14.043730532553 7.589586360439 17.122711213642 17.108410996609 15.774173752572 6.333497063576 0.627256493453 8.273477796145 17.052087324855 43.3...
result:
ok 10000 numbers
Test #41:
score: 0
Accepted
time: 18ms
memory: 3888kb
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.520364809833 12.052985980793 732.331505647549 2137.067637620341 9.399520241496 159.175338131108 26.193187890122 4.794877155674 0.578276802583 14.074745440304 16.867290052946 12.456801736536 11.859016189184 165.522678475577 18.240876297399 20.933743434794 11.538406795400 0.422164624725 2.8570441876...
result:
ok 10000 numbers
Test #42:
score: 0
Accepted
time: 19ms
memory: 3876kb
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.461286102479 12.557922321381 96.978610557769 4.389392921773 253.452789331838 165.311949528390 12.898236467861 9.323131460358 21.456212610205 8.581933870660 8.845855285938 8.732259103314 2.063272830621 13.045491431877 43.664119325454 7.055309465061 0.447506547126 15.163941993212 25.857337742753 16...
result:
ok 10000 numbers
Test #43:
score: 0
Accepted
time: 0ms
memory: 3884kb
input:
1 0.002 0.000 1000 0.002 1000
output:
0.000001000000
result:
ok found '0.0000010', expected '0.0000010', error '0.0000000'
Extra Test:
score: 0
Extra Test Passed