QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505403#5777. Test Passing Probabilityxiaowuc119 ✓961ms11924kbC++171.7kb2024-08-05 05:07:402024-08-05 05:07:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 9ms
memory: 4128kb

input:

100
455 5
0.947078 0.052922 0.0 0.0
0.17846 0.015275 0.796131 0.010134
0.0 0.210833 0.0439 0.745267
0.160421 0.488121 0.351458 0.0
0.2265 0.566157 0.207343 0.0
449 4
0.289855 0.409626 0.217258 0.083261
0.0 0.0 1.0 0.0
0.651506 0.109544 0.076638 0.162312
0.0 0.233043 0.714743 0.052214
676 6
1.0 0.0 0...

output:

Case #1: 1.0000000000
Case #2: 1.0000000000
Case #3: 1.0000000000
Case #4: 0.2500000000
Case #5: 0.5468750000
Case #6: 1.0000000000
Case #7: 1.0000000000
Case #8: 0.7500000000
Case #9: 0.5000000000
Case #10: 0.2265625000
Case #11: 1.0000000000
Case #12: 0.3408203125
Case #13: 1.0000000000
Case #14: ...

result:

ok correct! (100 test cases)

Subtask #2:

score: 14
Accepted

Test #2:

score: 14
Accepted
time: 961ms
memory: 11924kb

input:

100
4550 24
0.0 0.0 0.0 1.0
0.0 0.0 1.0 0.0
1.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0
1.0 0.0 0.0 0.0
0.0 1.0 0.0 0.0
0.0 0.362998 0.120565 0.516437
1.0 0.0 0.0 0.0
0.194553 0.0 0.714743 0.090704
0.093291 0.435496 0.147188 0.324025
0.0 1.0 0.0 0.0
0.0 1.0 0.0 0.0
0.0 1.0 0.0 0.0
0.431787 0.568213 0.0 0.0
1.0 ...

output:

Case #1: 1.0000000000
Case #2: 0.0000001427
Case #3: 1.0000000000
Case #4: 1.0000000000
Case #5: 0.0000000010
Case #6: 0.5000000000
Case #7: 1.0000000000
Case #8: 0.0000000009
Case #9: 1.0000000000
Case #10: 0.0000000066
Case #11: 0.0000000000
Case #12: 0.0000001078
Case #13: 1.0000000000
Case #14: ...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed