QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505498#5884. Password Problemxiaowuc120 ✓47ms4660kbC++171.2kb2024-08-05 05:46:192024-08-05 05:46:21

详细

Subtask #1:

score: 10
Accepted

Test #1:

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

input:

20
2 5
0.600000 0.600000
1 20
1.000000
3 4
1.000000 0.900000 0.100000
2 7
0.100629 0.988219
3 10
0.895228 0.098538 0.858459
2 4
0.000002 0.000001
3 42
0.000008 0.000008 0.000009
2 7
0.961958 0.140037
3 4
1.000000 1.000000 0.546288
3 5
0.936837 0.868353 0.579085
2 5
0.023516 0.283388
3 42
1.000000 0....

output:

Case #1: 7.000000000
Case #2: 20.000000000
Case #3: 4.500000000
Case #4: 9.000000000
Case #5: 12.000000000
Case #6: 6.000000000
Case #7: 44.000000000
Case #8: 8.304336000
Case #9: 4.000000000
Case #10: 6.118968683
Case #11: 7.000000000
Case #12: 40.000129000
Case #13: 12.000000000
Case #14: 102.0000...

result:

ok correct! (20 test cases)

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 47ms
memory: 4660kb

input:

20
7500 100000
1.000000 1.000000 1.000000 1.000000 1.000000 0.999999 0.999999 0.999999 0.999999 1.000000 0.999999 1.000000 1.000000 1.000000 1.000000 1.000000 0.999999 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 1.000000 0.999999 1.000000 0.999999 0.999999 1.000000 0.999999 0.9999...

output:

Case #1: 96554.641272277
Case #2: 902.312801618
Case #3: 1339.000000000
Case #4: 26.080805604
Case #5: 1022.000000000
Case #6: 2050.000000000
Case #7: 5052.000000000
Case #8: 95877.012022502
Case #9: 151.000000000
Case #10: 668.000000000
Case #11: 100002.000000000
Case #12: 99555.985470998
Case #13:...

result:

ok correct! (20 test cases)

Extra Test:

score: 0
Extra Test Passed