QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#766120#3413. Card Trickgyydp123_LIMAC ✓1ms3956kbC++201.2kb2024-11-20 16:16:482024-11-20 16:16:49

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3876kb

input:

1 10
2
1 10
3
1 10
4
1 10
5
1 10
6
1 10
7
1 10
8
1 10
9
1 10
10
1 10
J
1 10
Q
1 10
K
1 10
A

output:

0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357

result:

ok 13 numbers

Test #2:

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

input:

100 10
A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
100 10
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...

output:

0.9999997487
0.9999971598
0.1000000000
0.1000000000
0.1000000000
0.1000000000
0.1000000000
0.1000000000
0.1076923077
0.1153846154
0.1236686391
0.1325443787
0.1420573509
0.1522530724
0.1631805609
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0.1748923357
0...

result:

ok 30 numbers

Test #3:

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

input:

100 10
A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
100 10
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10...

output:

0.9999997487
0.9999801086
0.9999971598
0.9999994965

result:

ok 4 numbers

Test #4:

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

input:

44 4
Q 10 10 4 K 10 7 10 5 K 10 3 Q 4 10 10 8 10 10 J 10 9 10 9 Q 4 6 10 10 2 A 10 K 3 5 10 3 10 Q 10 3 10 10 10
97 6
10 10 10 3 Q 10 5 10 Q J 5 9 A A 10 10 K 5 10 J A K 10 3 10 7 10 J 10 10 A 10 2 10 Q 10 10 10 10 10 10 10 J 10 10 J 9 10 10 10 2 5 5 9 J 5 10 10 10 10 7 6 10 6 A 2 7 10 7 J 10 K 10 4...

output:

0.9959626469
0.9999939544
0.9998486126
0.9998449143
0.9999559830
0.9983961823
0.9997492223
0.9998897049
0.9925855263
0.9985373403
0.9999515464
0.9938663508
0.9998707911

result:

ok 13 numbers

Test #5:

score: 0
Accepted
time: 1ms
memory: 3880kb

input:

16 6
9 10 6 10 8 8 6 Q 10 6 10 10 K 7 10 10
11 3
10 10 10 10 10 10 10 10 10 6 10
20 8
K Q 5 10 5 6 10 10 10 5 J 2 3 10 8 10 9 10 10 10
4 9
K 4 6 10
13 8
10 10 10 10 9 2 10 10 4 6 J 10 10
18 6
9 2 4 J 6 Q 3 10 9 10 8 A A 5 Q 10 5 8
1 2
9
10 3
10 10 A 10 10 10 10 9 10 7
3 6
10 10 6
16 1
2 10 10 5 9 9 ...

output:

0.8759235769
0.7079157564
0.9244573403
0.4235151454
0.7994921773
0.9160966480
0.1000000000
0.6843432716
0.3017160695
0.8815042534
0.8945625504
0.7319200567
0.5152030460
0.7855763950
0.9228277525
0.8428033030
0.2855292182
0.4023855193
0.7056505345
0.1748923357
0.3017160695
0.7058717049
0.3686474122
0...

result:

ok 226 numbers

Test #6:

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

input:

5 2
2 3 5 3 Q
1 1
A
1 2
A
1 10
A
6 1
2 2 2 2 2 2
7 1
2 2 2 2 2 2 2
3 10
10 J K

output:

0.4871377757
0.1000000000
0.1000000000
0.1748923357
0.5830713210
0.6279229611
0.3346565828

result:

ok 7 numbers