QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#503801#6264. Lucky Drawxiaowuc1AC ✓1ms4236kbC++172.2kb2024-08-04 01:18:532024-08-04 01:18:53

详细

Test #1:

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

input:

2 2 0.5

output:

0.18518518518518512

result:

ok found '0.1851852', expected '0.1851852', error '0.0000000'

Test #2:

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

input:

2 2 0.8

output:

0.05624142661179787

result:

ok found '0.0562414', expected '0.0562414', error '0.0000000'

Test #3:

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

input:

5 3 0.85

output:

0.04546396405186537

result:

ok found '0.0454640', expected '0.0454640', error '0.0000000'

Test #4:

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

input:

10 1 0.1

output:

0.55918650223890864

result:

ok found '0.5591865', expected '0.5591865', error '0.0000000'

Test #5:

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

input:

10 1 0.5

output:

0.27875434254449272

result:

ok found '0.2787543', expected '0.2787543', error '0.0000000'

Test #6:

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

input:

10 1 0.9

output:

0.05087784190399303

result:

ok found '0.0508778', expected '0.0508778', error '0.0000000'

Test #7:

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

input:

10 2 0.1

output:

0.53273410982013625

result:

ok found '0.5327341', expected '0.5327341', error '0.0000000'

Test #8:

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

input:

10 2 0.5

output:

0.22689089966702969

result:

ok found '0.2268909', expected '0.2268909', error '0.0000000'

Test #9:

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

input:

10 2 0.9

output:

0.03916490754569169

result:

ok found '0.0391649', expected '0.0391649', error '0.0000000'

Test #10:

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

input:

10 3 0.1

output:

0.52305885492176296

result:

ok found '0.5230589', expected '0.5230589', error '0.0000000'

Test #11:

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

input:

10 3 0.5

output:

0.19936735603725353

result:

ok found '0.1993674', expected '0.1993674', error '0.0000000'

Test #12:

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

input:

10 3 0.9

output:

0.03359530244600051

result:

ok found '0.0335953', expected '0.0335953', error '0.0000000'

Test #13:

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

input:

10 50 0.1

output:

0.23125099168544838

result:

ok found '0.2312510', expected '0.2312510', error '0.0000000'

Test #14:

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

input:

10 50 0.5

output:

0.06709581721008018

result:

ok found '0.0670958', expected '0.0670958', error '0.0000000'

Test #15:

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

input:

10 50 0.9

output:

0.01035717814482062

result:

ok found '0.0103572', expected '0.0103572', error '0.0000000'

Test #16:

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

input:

2 1 0.1

output:

0.81818181818181812

result:

ok found '0.8181818', expected '0.8181818', error '0.0000000'

Test #17:

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

input:

2 1 0.5

output:

0.33333333333333326

result:

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

Test #18:

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

input:

2 1 0.9

output:

0.05263157894736725

result:

ok found '0.0526316', expected '0.0526316', error '0.0000000'

Test #19:

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

input:

2 2 0.1

output:

0.68294515401953415

result:

ok found '0.6829452', expected '0.6829452', error '0.0000000'

Test #20:

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

input:

2 2 0.5

output:

0.18518518518518512

result:

ok found '0.1851852', expected '0.1851852', error '0.0000000'

Test #21:

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

input:

2 2 0.9

output:

0.02638868639743419

result:

ok found '0.0263887', expected '0.0263887', error '0.0000000'

Test #22:

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

input:

2 3 0.1

output:

0.58123824130244439

result:

ok found '0.5812382', expected '0.5812382', error '0.0000000'

Test #23:

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

input:

2 3 0.5

output:

0.13580246913580285

result:

ok found '0.1358025', expected '0.1358025', error '0.0000000'

Test #24:

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

input:

2 3 0.9

output:

0.01977344201504116

result:

ok found '0.0197734', expected '0.0197734', error '0.0000000'

Test #25:

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

input:

2 50 0.1

output:

0.11565897571230066

result:

ok found '0.1156590', expected '0.1156590', error '0.0000000'

Test #26:

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

input:

2 50 0.5

output:

0.02844164600080157

result:

ok found '0.0284416', expected '0.0284416', error '0.0000000'

Test #27:

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

input:

2 50 0.9

output:

0.00423715829026927

result:

ok found '0.0042372', expected '0.0042372', error '0.0000000'

Test #28:

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

input:

3 1 0.1

output:

0.75184275184275184

result:

ok found '0.7518428', expected '0.7518428', error '0.0000000'

Test #29:

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

input:

3 1 0.5

output:

0.28571428571428570

result:

ok found '0.2857143', expected '0.2857143', error '0.0000000'

Test #30:

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

input:

3 1 0.9

output:

0.05088366673140299

result:

ok found '0.0508837', expected '0.0508837', error '0.0000000'

Test #31:

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

input:

3 2 0.1

output:

0.60123357513426656

result:

ok found '0.6012336', expected '0.6012336', error '0.0000000'

Test #32:

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

input:

3 2 0.5

output:

0.19612198620944987

result:

ok found '0.1961220', expected '0.1961220', error '0.0000000'

Test #33:

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

input:

3 2 0.9

output:

0.03179739195909714

result:

ok found '0.0317974', expected '0.0317974', error '0.0000000'

Test #34:

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

input:

3 3 0.1

output:

0.50816955125444208

result:

ok found '0.5081696', expected '0.5081696', error '0.0000000'

Test #35:

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

input:

3 3 0.5

output:

0.15998256134593913

result:

ok found '0.1599826', expected '0.1599826', error '0.0000000'

Test #36:

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

input:

3 3 0.9

output:

0.02522857843436754

result:

ok found '0.0252286', expected '0.0252286', error '0.0000000'

Test #37:

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

input:

3 50 0.1

output:

0.15611940819839276

result:

ok found '0.1561194', expected '0.1561194', error '0.0000000'

Test #38:

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

input:

3 50 0.5

output:

0.04079350563060846

result:

ok found '0.0407935', expected '0.0407935', error '0.0000000'

Test #39:

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

input:

3 50 0.9

output:

0.00614860232656733

result:

ok found '0.0061486', expected '0.0061486', error '0.0000000'

Test #40:

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

input:

50 1 0.1

output:

0.65140348564149542

result:

ok found '0.6514035', expected '0.6514035', error '0.0000000'

Test #41:

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

input:

50 1 0.5

output:

0.27864707309018322

result:

ok found '0.2786471', expected '0.2786471', error '0.0000000'

Test #42:

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

input:

50 1 0.9

output:

0.05087784189699485

result:

ok found '0.0508778', expected '0.0508778', error '0.0000000'

Test #43:

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

input:

50 2 0.1

output:

0.53994943847705135

result:

ok found '0.5399494', expected '0.5399494', error '0.0000000'

Test #44:

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

input:

50 2 0.5

output:

0.24339566147978908

result:

ok found '0.2433957', expected '0.2433957', error '0.0000000'

Test #45:

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

input:

50 2 0.9

output:

0.04296347580127735

result:

ok found '0.0429635', expected '0.0429635', error '0.0000000'

Test #46:

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

input:

50 3 0.1

output:

0.54337280951494382

result:

ok found '0.5433728', expected '0.5433728', error '0.0000000'

Test #47:

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

input:

50 3 0.5

output:

0.22205710154685054

result:

ok found '0.2220571', expected '0.2220571', error '0.0000000'

Test #48:

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

input:

50 3 0.9

output:

0.03847842309954019

result:

ok found '0.0384784', expected '0.0384784', error '0.0000000'

Test #49:

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

input:

50 50 0.1

output:

0.28682443221873299

result:

ok found '0.2868244', expected '0.2868244', error '0.0000000'

Test #50:

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

input:

50 50 0.5

output:

0.08950023707645516

result:

ok found '0.0895002', expected '0.0895002', error '0.0000000'

Test #51:

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

input:

50 50 0.9

output:

0.01408579146684152

result:

ok found '0.0140858', expected '0.0140857', error '0.0000001'