QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#503762#3977. Explosion Exploitxiaowuc1AC ✓1055ms37352kbC++171.5kb2024-08-04 01:02:502024-08-04 01:02:52

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 4080kb

input:

1 2 2
2
1 1

output:

0.333333333

result:

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

Test #2:

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

input:

2 3 12
3 2
4 2 3

output:

0.137738095

result:

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

Test #3:

score: 0
Accepted
time: 1044ms
memory: 37060kb

input:

5 5 57
6 6 6 6 6
6 6 6 6 6

output:

0.253594216

result:

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

Test #4:

score: 0
Accepted
time: 25ms
memory: 5192kb

input:

5 3 93
1 5 6 6 6
3 2 4

output:

1.000000000

result:

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

Test #5:

score: 0
Accepted
time: 74ms
memory: 7196kb

input:

5 4 33
4 5 4 2 6
1 3 6 2

output:

1.000000000

result:

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

Test #6:

score: 0
Accepted
time: 0ms
memory: 3912kb

input:

2 3 5
1 2
1 2 3

output:

0.000000000

result:

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

Test #7:

score: 0
Accepted
time: 1017ms
memory: 36052kb

input:

5 5 54
5 5 6 6 6
6 6 5 5 6

output:

0.360969330

result:

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

Test #8:

score: 0
Accepted
time: 943ms
memory: 33992kb

input:

5 5 44
5 6 6 4 5
4 6 6 6 5

output:

0.012778841

result:

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

Test #9:

score: 0
Accepted
time: 730ms
memory: 27408kb

input:

5 5 42
6 3 2 5 6
5 5 4 6 6

output:

0.044410915

result:

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

Test #10:

score: 0
Accepted
time: 805ms
memory: 30084kb

input:

5 5 43
6 6 6 5 6
5 5 6 5 3

output:

0.041626132

result:

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

Test #11:

score: 0
Accepted
time: 820ms
memory: 30604kb

input:

5 5 42
6 6 5 3 5
6 5 4 3 6

output:

0.053550049

result:

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

Test #12:

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

input:

5 2 3
6 6 6 6 6
1 1

output:

0.121315193

result:

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

Test #13:

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

input:

2 4 22
2 1
3 4 6 6

output:

1.000000000

result:

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

Test #14:

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

input:

2 4 12
1 1
2 2 3 5

output:

0.000770426

result:

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

Test #15:

score: 0
Accepted
time: 0ms
memory: 4076kb

input:

3 1 16
6 5 6
1

output:

0.995596741

result:

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

Test #16:

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

input:

1 1 6
3
3

output:

1.000000000

result:

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

Test #17:

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

input:

4 1 11
6 6 6 6
5

output:

0.050417252

result:

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

Test #18:

score: 0
Accepted
time: 0ms
memory: 4084kb

input:

1 3 9
3
2 1 4

output:

0.290228280

result:

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

Test #19:

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

input:

1 4 19
3
4 6 4 5

output:

0.002889980

result:

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

Test #20:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

3 1 6
3 5 5
1

output:

0.828866464

result:

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

Test #21:

score: 0
Accepted
time: 0ms
memory: 3932kb

input:

3 1 3
5 6 2
3

output:

0.015625000

result:

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

Test #22:

score: 0
Accepted
time: 16ms
memory: 4696kb

input:

5 4 13
5 3 5 6 4
4 3 1 3

output:

0.000207829

result:

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

Test #23:

score: 0
Accepted
time: 0ms
memory: 4036kb

input:

1 1 7
4
4

output:

0.500000000

result:

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

Test #24:

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

input:

3 4 10
6 6 6
1 1 1 1

output:

0.605583884

result:

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

Test #25:

score: 0
Accepted
time: 0ms
memory: 4064kb

input:

1 1 3
3
2

output:

0.500000000

result:

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

Test #26:

score: 0
Accepted
time: 0ms
memory: 3876kb

input:

4 1 10
4 2 2 3
1

output:

0.955068904

result:

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

Test #27:

score: 0
Accepted
time: 1055ms
memory: 37144kb

input:

5 5 100
6 6 6 6 6
6 6 6 6 6

output:

1.000000000

result:

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

Test #28:

score: 0
Accepted
time: 1033ms
memory: 37352kb

input:

5 5 59
6 6 6 6 6
6 6 6 6 6

output:

0.500000000

result:

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

Test #29:

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

input:

5 1 30
6 6 6 6 6
1

output:

0.999415235

result:

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