QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#23926#2948. DownsizingqwqAC ✓155ms3884kbC++202.0kb2022-03-21 13:50:462022-04-30 04:26:23

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3648kb

input:

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

output:

42.3867851678

result:

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

Test #2:

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

input:

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

output:

2.56174560539

result:

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

Test #3:

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

input:

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

output:

33.149710087

result:

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

Test #4:

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

input:

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

output:

5.08877515862

result:

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

Test #5:

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

input:

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

output:

35.705504438

result:

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

Test #6:

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

input:

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

output:

498.860300933

result:

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

Test #7:

score: 0
Accepted
time: 2ms
memory: 3884kb

input:

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

output:

235.261617667

result:

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

Test #8:

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

input:

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

output:

216.643651616

result:

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

Test #9:

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

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.509913

result:

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

Test #10:

score: 0
Accepted
time: 2ms
memory: 3844kb

input:

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

output:

12675159.2296

result:

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

Test #11:

score: 0
Accepted
time: 11ms
memory: 3780kb

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.47546

result:

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

Test #12:

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

input:

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

output:

12509088.9826

result:

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

Test #13:

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

input:

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

output:

224.128241051

result:

ok found '224.1282411', expected '224.1282800', error '0.0000002'

Test #14:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

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

output:

16882.8677645

result:

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

Test #15:

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

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.43065661

result:

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

Test #16:

score: 0
Accepted
time: 155ms
memory: 3840kb

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.017664395698

result:

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

Test #17:

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

input:

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

output:

0.0203884643568

result:

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

Test #18:

score: 0
Accepted
time: 21ms
memory: 3880kb

input:

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

output:

6135.53229582

result:

ok found '6135.5322958', expected '6135.5329900', error '0.0000001'

Test #19:

score: 0
Accepted
time: 39ms
memory: 3728kb

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.888355

result:

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

Test #20:

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

input:

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

output:

514362.437847

result:

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

Test #21:

score: 0
Accepted
time: 38ms
memory: 3828kb

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.0618165973204

result:

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

Test #22:

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

input:

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

output:

494634.331757

result:

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

Test #23:

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

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.8210892

result:

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

Test #24:

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

input:

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

output:

1.84606953137e-13

result:

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