QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505400#5773. Millionairexiaowuc129 ✓1471ms4716kbC++172.2kb2024-08-05 05:06:542024-08-05 05:06:54

詳細信息

Subtask #1:

score: 13
Accepted

Test #1:

score: 13
Accepted
time: 1ms
memory: 3784kb

input:

100
5 0.625 1000000
3 0.065474 400039
4 0.935531 749999
2 0.244025 720752
5 0.526339 130591
4 0.168307 155372
5 0.079713 371299
5 0.47154 437499
3 0.131408 333401
2 0.967868 808393
3 0.555907 199743
5 0.253168 521735
4 0.639442 468133
1 0.641357 740425
1 0.5 600000
5 0.677394 114291
5 0.265568 28458...

output:

Case #1: 1.000000000000
Case #2: 0.008293012484
Case #3: 0.998980025660
Case #4: 0.244025000000
Case #5: 0.149451395425
Case #6: 0.004767673834
Case #7: 0.007249273363
Case #8: 0.369133629943
Case #9: 0.017268062464
Case #10: 0.998967534576
Case #11: 0.171793381482
Case #12: 0.253168000000
Case #13:...

result:

ok correct! (100 test cases)

Subtask #2:

score: 16
Accepted

Test #2:

score: 16
Accepted
time: 1471ms
memory: 4716kb

input:

100
5 0.258745 996530
11 0.641357 740425
11 0.550932 597655
10 0 1000000
11 0.825855 836425
1 0.168307 155372
6 0.868939 953417
11 0.466564 664917
1 0.5 500000
13 0.406731 427734
5 1 31250
11 0.557474 791431
12 0.063486 816138
13 0.607184 752790
10 0.295455 750474
15 0.547 493239
5 0.25357 1756
11 0...

output:

Case #1: 0.776211286743
Case #2: 0.946863665271
Case #3: 0.718354964485
Case #4: 1.000000000000
Case #5: 0.999680648873
Case #6: 0.000000000000
Case #7: 0.999927729258
Case #8: 0.619165807495
Case #9: 0.500000000000
Case #10: 0.306459504698
Case #11: 1.000000000000
Case #12: 0.882031040658
Case #13:...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed