QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#287521 | #6264. Lucky Draw | lmq26052003 | AC ✓ | 10ms | 19148kb | C++20 | 886b | 2023-12-20 18:19:30 | 2023-12-20 18:19:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 4ms
memory: 19108kb
input:
2 2 0.5
output:
0.1851851852
result:
ok found '0.1851852', expected '0.1851852', error '0.0000000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 19100kb
input:
2 2 0.8
output:
0.0562414266
result:
ok found '0.0562414', expected '0.0562414', error '0.0000000'
Test #3:
score: 0
Accepted
time: 5ms
memory: 19140kb
input:
5 3 0.85
output:
0.0454639641
result:
ok found '0.0454640', expected '0.0454640', error '0.0000000'
Test #4:
score: 0
Accepted
time: 3ms
memory: 19012kb
input:
10 1 0.1
output:
0.5591865022
result:
ok found '0.5591865', expected '0.5591865', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 18980kb
input:
10 1 0.5
output:
0.2787543425
result:
ok found '0.2787543', expected '0.2787543', error '0.0000000'
Test #6:
score: 0
Accepted
time: 4ms
memory: 19128kb
input:
10 1 0.9
output:
0.0508778419
result:
ok found '0.0508778', expected '0.0508778', error '0.0000000'
Test #7:
score: 0
Accepted
time: 6ms
memory: 19092kb
input:
10 2 0.1
output:
0.5327341098
result:
ok found '0.5327341', expected '0.5327341', error '0.0000000'
Test #8:
score: 0
Accepted
time: 9ms
memory: 19088kb
input:
10 2 0.5
output:
0.2268908997
result:
ok found '0.2268909', expected '0.2268909', error '0.0000000'
Test #9:
score: 0
Accepted
time: 9ms
memory: 19016kb
input:
10 2 0.9
output:
0.0391649075
result:
ok found '0.0391649', expected '0.0391649', error '0.0000000'
Test #10:
score: 0
Accepted
time: 0ms
memory: 19012kb
input:
10 3 0.1
output:
0.5230588549
result:
ok found '0.5230589', expected '0.5230589', error '0.0000000'
Test #11:
score: 0
Accepted
time: 4ms
memory: 19012kb
input:
10 3 0.5
output:
0.1993673560
result:
ok found '0.1993674', expected '0.1993674', error '0.0000000'
Test #12:
score: 0
Accepted
time: 9ms
memory: 19140kb
input:
10 3 0.9
output:
0.0335953024
result:
ok found '0.0335953', expected '0.0335953', error '0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 19120kb
input:
10 50 0.1
output:
0.2312509917
result:
ok found '0.2312510', expected '0.2312510', error '0.0000000'
Test #14:
score: 0
Accepted
time: 3ms
memory: 19104kb
input:
10 50 0.5
output:
0.0670958172
result:
ok found '0.0670958', expected '0.0670958', error '0.0000000'
Test #15:
score: 0
Accepted
time: 0ms
memory: 19064kb
input:
10 50 0.9
output:
0.0103571781
result:
ok found '0.0103572', expected '0.0103572', error '0.0000000'
Test #16:
score: 0
Accepted
time: 3ms
memory: 19112kb
input:
2 1 0.1
output:
0.8181818182
result:
ok found '0.8181818', expected '0.8181818', error '0.0000000'
Test #17:
score: 0
Accepted
time: 0ms
memory: 19012kb
input:
2 1 0.5
output:
0.3333333333
result:
ok found '0.3333333', expected '0.3333333', error '0.0000000'
Test #18:
score: 0
Accepted
time: 6ms
memory: 18968kb
input:
2 1 0.9
output:
0.0526315789
result:
ok found '0.0526316', expected '0.0526316', error '0.0000000'
Test #19:
score: 0
Accepted
time: 4ms
memory: 19100kb
input:
2 2 0.1
output:
0.6829451540
result:
ok found '0.6829452', expected '0.6829452', error '0.0000000'
Test #20:
score: 0
Accepted
time: 3ms
memory: 19088kb
input:
2 2 0.5
output:
0.1851851852
result:
ok found '0.1851852', expected '0.1851852', error '0.0000000'
Test #21:
score: 0
Accepted
time: 8ms
memory: 19128kb
input:
2 2 0.9
output:
0.0263886864
result:
ok found '0.0263887', expected '0.0263887', error '0.0000000'
Test #22:
score: 0
Accepted
time: 4ms
memory: 18968kb
input:
2 3 0.1
output:
0.5812382413
result:
ok found '0.5812382', expected '0.5812382', error '0.0000000'
Test #23:
score: 0
Accepted
time: 0ms
memory: 19076kb
input:
2 3 0.5
output:
0.1358024691
result:
ok found '0.1358025', expected '0.1358025', error '0.0000000'
Test #24:
score: 0
Accepted
time: 4ms
memory: 18976kb
input:
2 3 0.9
output:
0.0197734420
result:
ok found '0.0197734', expected '0.0197734', error '0.0000000'
Test #25:
score: 0
Accepted
time: 0ms
memory: 19016kb
input:
2 50 0.1
output:
0.1156589757
result:
ok found '0.1156590', expected '0.1156590', error '0.0000000'
Test #26:
score: 0
Accepted
time: 0ms
memory: 19020kb
input:
2 50 0.5
output:
0.0284416460
result:
ok found '0.0284416', expected '0.0284416', error '0.0000000'
Test #27:
score: 0
Accepted
time: 6ms
memory: 19136kb
input:
2 50 0.9
output:
0.0042371583
result:
ok found '0.0042372', expected '0.0042372', error '0.0000000'
Test #28:
score: 0
Accepted
time: 4ms
memory: 19136kb
input:
3 1 0.1
output:
0.7518427518
result:
ok found '0.7518428', expected '0.7518428', error '0.0000000'
Test #29:
score: 0
Accepted
time: 3ms
memory: 19092kb
input:
3 1 0.5
output:
0.2857142857
result:
ok found '0.2857143', expected '0.2857143', error '0.0000000'
Test #30:
score: 0
Accepted
time: 0ms
memory: 18956kb
input:
3 1 0.9
output:
0.0508836667
result:
ok found '0.0508837', expected '0.0508837', error '0.0000000'
Test #31:
score: 0
Accepted
time: 6ms
memory: 19108kb
input:
3 2 0.1
output:
0.6012335751
result:
ok found '0.6012336', expected '0.6012336', error '0.0000000'
Test #32:
score: 0
Accepted
time: 4ms
memory: 19092kb
input:
3 2 0.5
output:
0.1961219862
result:
ok found '0.1961220', expected '0.1961220', error '0.0000000'
Test #33:
score: 0
Accepted
time: 2ms
memory: 19148kb
input:
3 2 0.9
output:
0.0317973920
result:
ok found '0.0317974', expected '0.0317974', error '0.0000000'
Test #34:
score: 0
Accepted
time: 0ms
memory: 19008kb
input:
3 3 0.1
output:
0.5081695513
result:
ok found '0.5081696', expected '0.5081696', error '0.0000000'
Test #35:
score: 0
Accepted
time: 6ms
memory: 19060kb
input:
3 3 0.5
output:
0.1599825613
result:
ok found '0.1599826', expected '0.1599826', error '0.0000000'
Test #36:
score: 0
Accepted
time: 0ms
memory: 19108kb
input:
3 3 0.9
output:
0.0252285784
result:
ok found '0.0252286', expected '0.0252286', error '0.0000000'
Test #37:
score: 0
Accepted
time: 3ms
memory: 19016kb
input:
3 50 0.1
output:
0.1561194082
result:
ok found '0.1561194', expected '0.1561194', error '0.0000000'
Test #38:
score: 0
Accepted
time: 0ms
memory: 19132kb
input:
3 50 0.5
output:
0.0407935056
result:
ok found '0.0407935', expected '0.0407935', error '0.0000000'
Test #39:
score: 0
Accepted
time: 3ms
memory: 19120kb
input:
3 50 0.9
output:
0.0061486023
result:
ok found '0.0061486', expected '0.0061486', error '0.0000000'
Test #40:
score: 0
Accepted
time: 4ms
memory: 19096kb
input:
50 1 0.1
output:
0.6514034856
result:
ok found '0.6514035', expected '0.6514035', error '0.0000000'
Test #41:
score: 0
Accepted
time: 10ms
memory: 19048kb
input:
50 1 0.5
output:
0.2786470731
result:
ok found '0.2786471', expected '0.2786471', error '0.0000000'
Test #42:
score: 0
Accepted
time: 6ms
memory: 19132kb
input:
50 1 0.9
output:
0.0508778419
result:
ok found '0.0508778', expected '0.0508778', error '0.0000000'
Test #43:
score: 0
Accepted
time: 0ms
memory: 19120kb
input:
50 2 0.1
output:
0.5399494385
result:
ok found '0.5399494', expected '0.5399494', error '0.0000000'
Test #44:
score: 0
Accepted
time: 0ms
memory: 19132kb
input:
50 2 0.5
output:
0.2433956615
result:
ok found '0.2433957', expected '0.2433957', error '0.0000000'
Test #45:
score: 0
Accepted
time: 6ms
memory: 18960kb
input:
50 2 0.9
output:
0.0429634758
result:
ok found '0.0429635', expected '0.0429635', error '0.0000000'
Test #46:
score: 0
Accepted
time: 3ms
memory: 19116kb
input:
50 3 0.1
output:
0.5433728095
result:
ok found '0.5433728', expected '0.5433728', error '0.0000000'
Test #47:
score: 0
Accepted
time: 0ms
memory: 19008kb
input:
50 3 0.5
output:
0.2220571015
result:
ok found '0.2220571', expected '0.2220571', error '0.0000000'
Test #48:
score: 0
Accepted
time: 4ms
memory: 19120kb
input:
50 3 0.9
output:
0.0384784231
result:
ok found '0.0384784', expected '0.0384784', error '0.0000000'
Test #49:
score: 0
Accepted
time: 4ms
memory: 18960kb
input:
50 50 0.1
output:
0.2868244322
result:
ok found '0.2868244', expected '0.2868244', error '0.0000000'
Test #50:
score: 0
Accepted
time: 0ms
memory: 19076kb
input:
50 50 0.5
output:
0.0895002371
result:
ok found '0.0895002', expected '0.0895002', error '0.0000000'
Test #51:
score: 0
Accepted
time: 4ms
memory: 18968kb
input:
50 50 0.9
output:
0.0140857914
result:
ok found '0.0140858', expected '0.0140857', error '0.0000001'