QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505565#5970. Typewriter Monkeyxiaowuc133 ✓1745ms4228kbC++173.5kb2024-08-05 06:09:122024-08-05 06:09:13

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 3ms
memory: 3816kb

input:

100
6 1 2
TBQYOO
T
6 3 7
MNFBXW
MBM
7 3 4
WWWOWWW
WWW
1 3 3
V
VVV
7 1 5
YYYERYW
Y
4 5 7
AECC
ACCAC
1 1 2
C
C
1 3 3
P
PPP
1 1 1
M
M
7 7 7
IIIIIII
IIIIIII
1 2 3
L
LL
6 1 2
GGNGNN
G
6 1 5
PGZAFW
P
6 1 5
YTJXCV
V
7 4 5
SUOYEQM
OESM
4 2 3
FPGD
FP
1 6 7
X
XXXXXX
3 3 5
MRX
XRX
7 4 4
JAKNKFE
JKNF
3 2 7
OVU
...

output:

Case #1: 1.666666666667
Case #2: 2.976851851852
Case #3: 0.740524781341
Case #4: 0.000000000000
Case #5: 2.142857142857
Case #6: 0.976562500000
Case #7: 0.000000000000
Case #8: 0.000000000000
Case #9: 0.000000000000
Case #10: 0.000000000000
Case #11: 0.000000000000
Case #12: 1.000000000000
Case #13:...

result:

ok correct! (100 test cases)

Subtask #2:

score: 22
Accepted

Test #2:

score: 22
Accepted
time: 1745ms
memory: 4228kb

input:

100
100 8 31
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRXRRRRRRRRRRRRRRR
RRRRRRRR
99 1 34
HABAGPCLUOJSXXKTSIFRBAZNKMFEKTWBJTNXKRWNDBDPYEKBHGASUIXXWQHUIZXHWCHJXSRTMHDTJKFZFAIGHBVLTQBVHUKIBCD
S
49 32 78
VRBRTHNEQAPPDVIHLPBOFAJGRJHTIJLKHHWAOOMKCPOYCCZSP
OBMIKOYQ...

output:

Case #1: 1.854127333730
Case #2: 32.626262626263
Case #3: 2.000000000000
Case #4: 1.000000000000
Case #5: 21.717030000000
Case #6: 2.000000000000
Case #7: 6.460000000000
Case #8: 2.991210937500
Case #9: 1.000000000000
Case #10: 4.998144000000
Case #11: 1.000000000000
Case #12: 43.490909090909
Case #...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed