QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505619#3460. A1 Paperxiaowuc1AC ✓48ms39844kbJava82.7kb2024-08-05 06:30:022024-08-05 06:30:03

详细

Test #1:

score: 100
Accepted
time: 39ms
memory: 39844kb

input:

4
1 0 5

output:

1.6096553226295782

result:

ok 

Test #2:

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

input:

3
0 3

output:

impossible

result:

ok 

Test #3:

score: 0
Accepted
time: 37ms
memory: 38244kb

input:

2
1000000000

output:

0.5946035575013605

result:

ok 

Test #4:

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

input:

30
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000000000

output:

33259.78073974869

result:

ok 

Test #5:

score: 0
Accepted
time: 32ms
memory: 38308kb

input:

29
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000000000

output:

23517.796053646394

result:

ok 

Test #6:

score: 0
Accepted
time: 48ms
memory: 37232kb

input:

29
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 268435456

output:

23517.796053646394

result:

ok 

Test #7:

score: 0
Accepted
time: 33ms
memory: 39796kb

input:

29
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 268435455

output:

impossible

result:

ok 

Test #8:

score: 0
Accepted
time: 42ms
memory: 38104kb

input:

30
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2

output:

2.0300159142913015

result:

ok 

Test #9:

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

input:

30
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

impossible

result:

ok 

Test #10:

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

input:

30
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 2 1 1 1 1 1 1 1 1 1 1 1000

output:

impossible

result:

ok 

Test #11:

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

input:

30
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 2 1 1 1 1 1 1 1 1 1 1 10000

output:

2.155736049859084

result:

ok 

Test #12:

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

input:

30
0 0 0 0 0 0 0 0 0 3 1 9 100 0 0 1 21 999 125 8 49921 3 47 1 3238001 1 483 1 8324

output:

impossible

result:

ok 

Test #13:

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

input:

30
0 0 0 0 0 0 0 0 0 3 1 9 100 0 0 1 21 999 125 8 49921 3 47 1 3238001 1 483 1 832400000

output:

29381.521183315726

result:

ok