QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#82923#2948. Downsizingxiaowuc1AC ✓170ms3708kbC++173.9kb2023-03-01 02:59:182023-03-01 02:59:19

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 3544kb

input:

0 0 10
4 -10 -10 -10 -20 10 -20 10 -10

output:

42.38678533583316721

result:

ok found '42.3867853', expected '42.3867853', error '0.0000000'

Test #2:

score: 0
Accepted
time: 8ms
memory: 3700kb

input:

0 0 4
4 0 10 -3 7 0 4 3 7

output:

2.56174560764874437

result:

ok found '2.5617456', expected '2.5617456', error '0.0000000'

Test #3:

score: 0
Accepted
time: 8ms
memory: 3700kb

input:

0 0 10
4 -20 5 -15 0 0 15 -5 20

output:

33.14971022848994409

result:

ok found '33.1497102', expected '33.1497102', error '0.0000000'

Test #4:

score: 0
Accepted
time: 3ms
memory: 3548kb

input:

0 0 10
3 -15 20 -20 -15 -15 0

output:

5.08877512663964993

result:

ok found '5.0887751', expected '5.0887751', error '0.0000000'

Test #5:

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

input:

0 0 10
4 -10 -10 -15 -15 15 -15 10 -10

output:

35.70550453780963096

result:

ok found '35.7055045', expected '35.7055045', error '0.0000000'

Test #6:

score: 0
Accepted
time: 9ms
memory: 3552kb

input:

-100 -100 75
5 -225 -225 -225 -275 -125 -275 -125 -225 -175 -175

output:

498.86030112835254613

result:

ok found '498.8603011', expected '498.8603010', error '0.0000000'

Test #7:

score: 0
Accepted
time: 8ms
memory: 3552kb

input:

1090 -50 30
6 1090 10 1090 40 1060 70 970 -20 1000 -50 1030 -50

output:

235.26161843424571884

result:

ok found '235.2616184', expected '235.2616180', error '0.0000000'

Test #8:

score: 0
Accepted
time: 13ms
memory: 3612kb

input:

-200 63 96
7 0 0 0 -47 101 -141 202 -141 303 -94 303 -47 101 0

output:

216.64365163996390606

result:

ok found '216.6436516', expected '216.6436516', error '0.0000000'

Test #9:

score: 0
Accepted
time: 14ms
memory: 3708kb

input:

7900 5440 1220
10 5820 5180 3780 7200 1560 7920 -140 7860 -1620 7080 -3920 4260 -2680 20 -320 -1040 4180 -120 5620 3080

output:

197884.51008144998922944

result:

ok found '197884.5100814', expected '197884.5100830', error '0.0000000'

Test #10:

score: 0
Accepted
time: 10ms
memory: 3704kb

input:

3820 740 5160
5 -6400 -5540 2560 8360 -5020 8880 -8680 2220 -7520 -4520

output:

12675159.35301434062421322

result:

ok found '12675159.3530143', expected '12675159.3542605', error '0.0000000'

Test #11:

score: 0
Accepted
time: 36ms
memory: 3640kb

input:

5920 6200 3440
21 2360 7720 600 8500 -1620 9060 -4420 9120 -5680 8940 -6820 8560 -7460 8120 -8320 6120 -8600 4360 -8640 2960 -8460 1420 -7400 -1520 -6840 -2500 -6320 -3180 -5640 -3580 -4960 -3900 -4360 -4040 -3020 -3980 -1860 -3560 -1280 -2920 -820 -2200

output:

3537619.49477828154340386

result:

ok found '3537619.4947783', expected '3537619.4949730', error '0.0000000'

Test #12:

score: 0
Accepted
time: 7ms
memory: 3700kb

input:

40 20 5420
5 -140 9080 6460 600 9220 -340 9740 9920 880 9840

output:

12509089.02778203226625919

result:

ok found '12509089.0277820', expected '12509089.0282381', error '0.0000000'

Test #13:

score: 0
Accepted
time: 8ms
memory: 3664kb

input:

-4220 300 100
4 -3600 9900 -3660 -9740 9620 -9740 9660 9780

output:

224.12827838305423711

result:

ok found '224.1282784', expected '224.1282800', error '0.0000000'

Test #14:

score: 0
Accepted
time: 8ms
memory: 3640kb

input:

-7840 -7740 1900
4 -9900 9200 8760 -9800 9780 -8920 -8940 9900

output:

16882.86790586352799437

result:

ok found '16882.8679059', expected '16882.8679070', error '0.0000000'

Test #15:

score: 0
Accepted
time: 40ms
memory: 3524kb

input:

0 0 100
22 100 100 100 -100 200 -200 210 -209 220 -217 230 -224 240 -230 250 -235 260 -239 270 -242 280 -244 290 -245 290 245 280 244 270 242 260 239 250 235 240 230 230 224 220 217 210 209 200 200

output:

5646.43067311983668333

result:

ok found '5646.4306731', expected '5646.4306730', error '0.0000000'

Test #16:

score: 0
Accepted
time: 122ms
memory: 3676kb

input:

-9999 -9999 1
77 -9996 -9997 -9096 -9497 -8216 -8997 -7356 -8497 -6516 -7997 -5696 -7497 -4896 -6997 -4116 -6497 -3356 -5997 -2616 -5497 -1896 -4997 -1196 -4497 -516 -3997 144 -3497 784 -2997 1404 -2497 2004 -1997 2584 -1497 3144 -997 3684 -497 4204 3 4704 503 5184 1003 5644 1503 6084 2003 6504 2503...

output:

0.01766440014376392

result:

ok found '0.0176644', expected '0.0176644', error '0.0000000'

Test #17:

score: 0
Accepted
time: 4ms
memory: 3576kb

input:

0 -9950 50
3 -10000 0 10000 0 0 10000

output:

0.02038846445728536

result:

ok found '0.0203885', expected '0.0203885', error '0.0000000'

Test #18:

score: 0
Accepted
time: 4ms
memory: 3540kb

input:

-9900 9900 100
3 -10000 9800 -5000 -10000 10000 9800

output:

6135.53121325290521781

result:

ok found '6135.5312133', expected '6135.5329900', error '0.0000003'

Test #19:

score: 0
Accepted
time: 168ms
memory: 3552kb

input:

0 9000 1000
100 7000 0 6986 439 6944 877 6876 1311 6780 1740 6657 2163 6508 2576 6333 2980 6134 3372 5910 3750 5663 4114 5393 4461 5102 4791 4791 5102 4461 5393 4114 5663 3750 5910 3372 6134 2980 6333 2576 6508 2163 6657 1740 6780 1311 6876 877 6944 439 6986 0 7000 -439 6986 -877 6944 -1311 6876 -17...

output:

149865.88835994739201851

result:

ok found '149865.8883599', expected '149865.8883600', error '0.0000000'

Test #20:

score: 0
Accepted
time: 10ms
memory: 3692kb

input:

0 0 5000
4 9000 -10000 10000 -10000 10000 -9000 -9000 -9000

output:

514362.44234290689928457

result:

ok found '514362.4423429', expected '514362.4423880', error '0.0000000'

Test #21:

score: 0
Accepted
time: 170ms
memory: 3704kb

input:

9000 9000 100
100 2828 2828 2778 2867 2717 2894 2645 2910 2563 2915 2471 2908 2369 2890 2258 2860 2137 2819 2009 2767 1872 2703 1728 2630 1577 2545 1420 2451 1258 2347 1090 2234 918 2112 742 1982 564 1844 383 1698 201 1546 18 1388 -164 1224 -347 1056 -528 883 -707 707 -883 528 -1056 347 -1224 164 -1...

output:

0.06181659732044052

result:

ok found '0.0618166', expected '0.0618160', error '0.0000006'

Test #22:

score: 0
Accepted
time: 12ms
memory: 3640kb

input:

-3000 3100 1740
8 820 -2640 3680 -1880 4000 720 2680 9000 1540 9160 740 8920 -60 8080 -260 6720

output:

494634.33555228821933270

result:

ok found '494634.3355523', expected '494634.3355910', error '0.0000000'

Test #23:

score: 0
Accepted
time: 35ms
memory: 3704kb

input:

-7360 -7740 580
20 -6480 -7920 -6180 -8380 -5520 -8940 -4220 -9320 -3240 -9520 -1040 -9640 4180 -9160 6380 -8540 8160 -7200 9180 -5660 9560 -3480 9740 1000 9440 5500 8720 8000 7640 9460 3560 9800 -5180 8720 -5860 7260 -6480 3960 -6880 60

output:

91873.82541546763968654

result:

ok found '91873.8254155', expected '91873.8254590', error '0.0000000'

Test #24:

score: 0
Accepted
time: 6ms
memory: 3612kb

input:

-1180 -400 10
4 9991 9991 9990 9991 9990 9990 9991 9990

output:

0.00000000000018461

result:

ok found '0.0000000', expected '0.0000000', error '0.0000000'