QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#780587#3977. Explosion Exploitlmq26052003AC ✓457ms17360kbC++201.5kb2024-11-25 11:42:322024-11-25 11:42:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 2 2
2
1 1

output:

0.3333333333

result:

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

Test #2:

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

input:

2 3 12
3 2
4 2 3

output:

0.1377380946

result:

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

Test #3:

score: 0
Accepted
time: 452ms
memory: 17356kb

input:

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

output:

0.2535942157

result:

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

Test #4:

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

input:

5 3 93
1 5 6 6 6
3 2 4

output:

1.0000000000

result:

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

Test #5:

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

input:

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

output:

1.0000000000

result:

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

Test #6:

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

input:

2 3 5
1 2
1 2 3

output:

0.0000000000

result:

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

Test #7:

score: 0
Accepted
time: 426ms
memory: 16732kb

input:

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

output:

0.3609693304

result:

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

Test #8:

score: 0
Accepted
time: 401ms
memory: 15916kb

input:

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

output:

0.0127788414

result:

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

Test #9:

score: 0
Accepted
time: 307ms
memory: 13272kb

input:

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

output:

0.0444109152

result:

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

Test #10:

score: 0
Accepted
time: 346ms
memory: 14320kb

input:

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

output:

0.0416261322

result:

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

Test #11:

score: 0
Accepted
time: 346ms
memory: 14440kb

input:

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

output:

0.0535500487

result:

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

Test #12:

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

input:

5 2 3
6 6 6 6 6
1 1

output:

0.1213151927

result:

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

Test #13:

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

input:

2 4 22
2 1
3 4 6 6

output:

1.0000000000

result:

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

Test #14:

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

input:

2 4 12
1 1
2 2 3 5

output:

0.0007704258

result:

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

Test #15:

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

input:

3 1 16
6 5 6
1

output:

0.9955967408

result:

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

Test #16:

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

input:

1 1 6
3
3

output:

1.0000000000

result:

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

Test #17:

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

input:

4 1 11
6 6 6 6
5

output:

0.0504172516

result:

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

Test #18:

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

input:

1 3 9
3
2 1 4

output:

0.2902282799

result:

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

Test #19:

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

input:

1 4 19
3
4 6 4 5

output:

0.0028899802

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

result:

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

Test #21:

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

input:

3 1 3
5 6 2
3

output:

0.0156250000

result:

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

Test #22:

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

input:

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

output:

0.0002078294

result:

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

Test #23:

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

input:

1 1 7
4
4

output:

0.5000000000

result:

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

Test #24:

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

input:

3 4 10
6 6 6
1 1 1 1

output:

0.6055838844

result:

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

Test #25:

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

input:

1 1 3
3
2

output:

0.5000000000

result:

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

Test #26:

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

input:

4 1 10
4 2 2 3
1

output:

0.9550689036

result:

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

Test #27:

score: 0
Accepted
time: 452ms
memory: 17264kb

input:

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

output:

1.0000000000

result:

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

Test #28:

score: 0
Accepted
time: 457ms
memory: 17360kb

input:

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

output:

0.5000000000

result:

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

Test #29:

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

input:

5 1 30
6 6 6 6 6
1

output:

0.9994152349

result:

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