QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#234960#5646. Uniform ChemistryqiuzxAC ✓35ms27480kbC++171.7kb2023-11-02 08:51:502023-11-02 08:51:51

详细

Test #1:

score: 100
Accepted
time: 27ms
memory: 27424kb

input:

2 3
1 1 1

output:

1.0000000000000000 1.0000000000000000 1.0000000000000000 

result:

ok 3 numbers, max absolute error 0

Test #2:

score: 0
Accepted
time: 31ms
memory: 27384kb

input:

3 3
1 1 2

output:

0.5000000000000000 0.5000000000000000 1.0000000000000000 

result:

ok 3 numbers, max absolute error 0

Test #3:

score: 0
Accepted
time: 30ms
memory: 27388kb

input:

3 3
1 1 1

output:

0.6250000000000000 0.6250000000000000 0.6250000000000000 

result:

ok 3 numbers, max absolute error 0

Test #4:

score: 0
Accepted
time: 26ms
memory: 27480kb

input:

100 7
1 2 4 8 16 32 64

output:

0.1785934686237503 0.1798104547310738 0.1823067706392782 0.1875653655878116 0.1993004295293931 0.2293563224138493 0.3487225179441022 

result:

ok 7 numbers, max absolute error 4.70606887e-10

Test #5:

score: 0
Accepted
time: 27ms
memory: 27440kb

input:

100 10
28 58 38 53 1 19 66 60 68 31

output:

0.1320312447344107 0.1954783754445707 0.1472783260034369 0.1801694505297800 0.1044952833620639 0.1211120329721718 0.2277441755672939 0.2025068243132000 0.2379248932513688 0.1362072688485901 

result:

ok 10 numbers, max absolute error 8.32667268e-17

Test #6:

score: 0
Accepted
time: 31ms
memory: 27444kb

input:

100 10
86 50 88 42 88 20 29 83 89 34

output:

0.2633535451163394 0.0960168455579717 0.2973462846861381 0.0852667611667907 0.2973462846861381 0.0658616475871354 0.0724970695658260 0.2259810388407567 0.3184278057429711 0.0768756085281280 

result:

ok 10 numbers, max absolute error 1.11022302e-16

Test #7:

score: 0
Accepted
time: 28ms
memory: 27240kb

input:

2 1
1

output:

1.0000000000000000 

result:

ok found '1.000000000', expected '1.000000000', error '0.000000000'

Test #8:

score: 0
Accepted
time: 29ms
memory: 27428kb

input:

10 3
4 6 7

output:

0.3721354166666666 0.5234953703703705 0.6678433641975308 

result:

ok 3 numbers, max absolute error 0

Test #9:

score: 0
Accepted
time: 29ms
memory: 27380kb

input:

20 10
6 6 9 3 14 15 13 8 6 11

output:

0.1519177372088800 0.1519177372088800 0.1871464691886714 0.1284275431020202 0.3162342033555915 0.3704345703076319 0.2766977533532904 0.1735820763056627 0.1519177372088800 0.2226133626771252 

result:

ok 10 numbers, max absolute error 1.11022302e-16

Test #10:

score: 0
Accepted
time: 28ms
memory: 27328kb

input:

99 2
40 55

output:

0.5366140249464275 0.6295926938127409 

result:

ok 2 numbers, max absolute error 4.4408921e-16

Test #11:

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

input:

99 9
86 68 85 83 75 70 71 73 70

output:

0.2945741170897618 0.1492344902295595 0.2780294761784574 0.2505140657465337 0.1824354299353148 0.1572638753877339 0.1616578500370203 0.1713381715870836 0.1572638753877339 

result:

ok 9 numbers, max absolute error 1.66533454e-16