QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#503782#4764. Fleecing the Rafflexiaowuc1AC ✓120ms66024kbJava82.3kb2024-08-04 01:09:232024-08-04 01:09:24

详细

Test #1:

score: 100
Accepted
time: 105ms
memory: 63848kb

input:

3 2

output:

0.6000000000000001

result:

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

Test #2:

score: 0
Accepted
time: 106ms
memory: 63536kb

input:

23 5

output:

0.45049857549857525

result:

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

Test #3:

score: 0
Accepted
time: 115ms
memory: 64452kb

input:

65 4

output:

0.4319549058065666

result:

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

Test #4:

score: 0
Accepted
time: 103ms
memory: 66024kb

input:

29 24

output:

0.8000000000000007

result:

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

Test #5:

score: 0
Accepted
time: 113ms
memory: 65136kb

input:

74 68

output:

0.9066666666666439

result:

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

Test #6:

score: 0
Accepted
time: 106ms
memory: 63672kb

input:

90 10

output:

0.40799532232930197

result:

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

Test #7:

score: 0
Accepted
time: 108ms
memory: 64040kb

input:

43 4

output:

0.4373914584440821

result:

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

Test #8:

score: 0
Accepted
time: 113ms
memory: 64900kb

input:

52 23

output:

0.4982529699510656

result:

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

Test #9:

score: 0
Accepted
time: 94ms
memory: 65068kb

input:

21 4

output:

0.454700854700855

result:

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

Test #10:

score: 0
Accepted
time: 103ms
memory: 62904kb

input:

66 55

output:

0.8208955223880792

result:

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

Test #11:

score: 0
Accepted
time: 92ms
memory: 65076kb

input:

60 23

output:

0.4743521946060381

result:

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

Test #12:

score: 0
Accepted
time: 98ms
memory: 63620kb

input:

82 2

output:

0.5030674846625867

result:

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

Test #13:

score: 0
Accepted
time: 105ms
memory: 62456kb

input:

2 2

output:

0.6666666666666669

result:

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

Test #14:

score: 0
Accepted
time: 99ms
memory: 63808kb

input:

1000000 2

output:

0.5000002523674768

result:

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

Test #15:

score: 0
Accepted
time: 105ms
memory: 64772kb

input:

1000000 1000000

output:

0.9999989997600551

result:

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

Test #16:

score: 0
Accepted
time: 103ms
memory: 63928kb

input:

805820 698140

output:

0.866371063354013

result:

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

Test #17:

score: 0
Accepted
time: 102ms
memory: 62484kb

input:

340252 155481

output:

0.49629583261357035

result:

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

Test #18:

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

input:

957214 336596

output:

0.45597944762120846

result:

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

Test #19:

score: 0
Accepted
time: 98ms
memory: 63464kb

input:

96718 92747

output:

0.9589325780113271

result:

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

Test #20:

score: 0
Accepted
time: 111ms
memory: 63832kb

input:

847495 603727

output:

0.7123656035839483

result:

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

Test #21:

score: 0
Accepted
time: 107ms
memory: 64624kb

input:

826416 8

output:

0.39269756693973634

result:

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

Test #22:

score: 0
Accepted
time: 102ms
memory: 62880kb

input:

582605 10

output:

0.387423482081832

result:

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

Test #23:

score: 0
Accepted
time: 109ms
memory: 64856kb

input:

440681 6

output:

0.4018798523964896

result:

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

Test #24:

score: 0
Accepted
time: 106ms
memory: 64432kb

input:

846465 7

output:

0.39657086257688506

result:

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

Test #25:

score: 0
Accepted
time: 109ms
memory: 63396kb

input:

875537 7

output:

0.39657081604062777

result:

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

Test #26:

score: 0
Accepted
time: 112ms
memory: 65192kb

input:

734115 14

output:

0.38159525138798556

result:

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

Test #27:

score: 0
Accepted
time: 120ms
memory: 62784kb

input:

305108 36

output:

0.37309457623529974

result:

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

Test #28:

score: 0
Accepted
time: 109ms
memory: 62468kb

input:

171812 31

output:

0.37395965018364996

result:

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

Test #29:

score: 0
Accepted
time: 109ms
memory: 62700kb

input:

190901 35

output:

0.37325733379877907

result:

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

Test #30:

score: 0
Accepted
time: 113ms
memory: 64916kb

input:

672116 43

output:

0.37222765042940614

result:

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

Test #31:

score: 0
Accepted
time: 116ms
memory: 63528kb

input:

433163 288

output:

0.3686415612524895

result:

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

Test #32:

score: 0
Accepted
time: 101ms
memory: 65068kb

input:

340280 943

output:

0.36858516563911037

result:

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

Test #33:

score: 0
Accepted
time: 105ms
memory: 61612kb

input:

683232 648

output:

0.3683379734940094

result:

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

Test #34:

score: 0
Accepted
time: 117ms
memory: 63800kb

input:

254024 756

output:

0.36867135098097226

result:

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

Test #35:

score: 0
Accepted
time: 112ms
memory: 63516kb

input:

247062 441

output:

0.3686255328236594

result:

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

Test #36:

score: 0
Accepted
time: 111ms
memory: 61532kb

input:

990572 6760

output:

0.3691689882340359

result:

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

Test #37:

score: 0
Accepted
time: 104ms
memory: 63232kb

input:

601255 7162

output:

0.3701123199197145

result:

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

Test #38:

score: 0
Accepted
time: 102ms
memory: 63624kb

input:

858567 7984

output:

0.36962619768105937

result:

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

Test #39:

score: 0
Accepted
time: 109ms
memory: 63276kb

input:

306143 1288

output:

0.3687981481067685

result:

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

Test #40:

score: 0
Accepted
time: 97ms
memory: 64276kb

input:

383908 3409

output:

0.36957835744375067

result:

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

Test #41:

score: 0
Accepted
time: 117ms
memory: 63772kb

input:

289884 94862

output:

0.4443346203134541

result:

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

Test #42:

score: 0
Accepted
time: 107ms
memory: 62604kb

input:

888731 38321

output:

0.37607680683763883

result:

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

Test #43:

score: 0
Accepted
time: 106ms
memory: 63780kb

input:

689895 45607

output:

0.38063005187427934

result:

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

Test #44:

score: 0
Accepted
time: 112ms
memory: 63576kb

input:

923093 51297

output:

0.37845112305606393

result:

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

Test #45:

score: 0
Accepted
time: 93ms
memory: 64488kb

input:

338392 32196

output:

0.3869035079815692

result:

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