QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#627852#6808. LilyopwdadAC ✓0ms3836kbC++201.1kb2024-10-10 17:22:342024-10-10 17:22:34

详细

Test #1:

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

input:

5
..L..

output:

C.L.C

result:

ok "C.L.C"

Test #2:

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

input:

2
..

output:

CC

result:

ok "CC"

Test #3:

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

input:

1
.

output:

C

result:

ok "C"

Test #4:

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

input:

1
L

output:

L

result:

ok "L"

Test #5:

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

input:

2
LL

output:

LL

result:

ok "LL"

Test #6:

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

input:

2
L.

output:

L.

result:

ok "L."

Test #7:

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

input:

2
.L

output:

.L

result:

ok ".L"

Test #8:

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

input:

998
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"

Test #9:

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

input:

999
...........................................................................................................................................................................................................................................................................................................

output:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

result:

ok "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"

Test #10:

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

input:

1000
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"

Test #11:

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

input:

1000
LLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLL.LLLLL.L.LLL.LLLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLL.L.L.LLLLLLLLL.LLLLLLL.LLLLLLL.LLL.L.LLLLL.LLLLLLLLLLLLLLLLL.LLLLL.LLLL.LLLLLLL.LLLL.LLLLLLLL..LL.LLLLLLLLLLLLLLLLL.LLL.LLLL.L.L.LLLL.LLLLLLL.LLLLLLLLLLLLLLLL...LLLLL.LLLLLL..LL.LLLL.LLLLLLL.L.LLL.LLLL..L..LL...

output:

LLLLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLL.LLLLL.L.LLL.LLLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLL.L.L.LLLLLLLLL.LLLLLLL.LLLLLLL.LLL.L.LLLLL.LLLLLLLLLLLLLLLLL.LLLLL.LLLL.LLLLLLL.LLLL.LLLLLLLL..LL.LLLLLLLLLLLLLLLLL.LLL.LLLL.L.L.LLLL.LLLLLLL.LLLLLLLLLLLLLLLL.C.LLLLL.LLLLLL..LL.LLLL.LLLLLLL.L.LLL.LLLL..L..LLLLL.L...

result:

ok "LLLLLLLLLLLLLLLLLLLLLL.LLLLL.L...LLL..LLLLLLL..LLLLL.LLLLLLLLLL."

Test #12:

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

input:

1000
.LLLL.L.LLLLLLLLLL.LLL..LL.LL.LLLLLLL..LL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLLLLLLLLL.L.LLLLLLL.LLLLLLLLLL....LLLLL.LL.LL..LL.LLLL..LLLL.L.L.L.LLLLLLLLLLL...L.LLLLL.LLLL.LLLL..LLLLLLLLLLLLLLLLLL..LLL..LLLLLLLLL.L.LL......LL.LLLLLLL.LLLLLLL.LLLLLLL..LL.L.L.LLLLLLL.LL....LLLL.....

output:

.LLLL.L.LLLLLLLLLL.LLL..LL.LL.LLLLLLL..LL.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLL.LL.LLLLLLLLLLLLLLLLLLLLLLLLL.L.LLLLLLL.LLLLLLLLLL.CC.LLLLL.LL.LL..LL.LLLL..LLLL.L.L.L.LLLLLLLLLLL.C.L.LLLLL.LLLL.LLLL..LLLLLLLLLLLLLLLLLL..LLL..LLLLLLLLL.L.LL.CCCC.LL.LLLLLLL.LLLLLLL.LLLLLLL..LL.L.L.LLLLLLL.LL.CC.LLLL..LL..L...

result:

ok ".LLLL.L.LLLLLLLLLL.LLL..LL.LL....LL.L.C.LL..LLLLLLLLLLLL.LLLL.LL"

Test #13:

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

input:

1000
.L.LL....L.L.LLLLLLL.L.LLL.LL...LLLLLL..LLL.LLLLL.L.LLLLLLL.LLLLL..L..L.LL.L..LLL..L.LLLLLLLLLLL.LLL..LL.LL...LLLLL..L....LL.LLLL.L.LLL.LLLLLLL..LL.LLL.LLLLLL.L...L.L.LLLLL.LLLLLL.LLLLL...LLLLLL.LLLL...L.LLLL.LLLLL.....L...LLLL.LLLLLLLL.L.L...L.LL.LL.LLLLLLLLL.LLLL.L..LL..LLLL.LLL..LLLLL.LLLLLL...

output:

.L.LL.CC.L.L.LLLLLLL.L.LLL.LL.C.LLLLLL..LLL.LLLLL.L.LLLLLLL.LLLLL..L..L.LL.L..LLL..L.LLLLLLLLLLL.LLL..LL.LL.C.LLLLL..L.CC.LL.LLLL.L.LLL.LLLLLLL..LL.LLL.LLLLLL.L.C.L.L.LLLLL.LLLLLL.LLLLL.C.LLLLLL.LLLL.C.L.LLLL.LLLLL.CCC.L.C.LLLL.LLLLLLLL.L.L.C.L.LL.LL.LLLLLLLLL.LLLL.L..LL..LLLL.LLL..LLLLL.LLLLLLLL..L...

result:

ok ".L.LL.CC.L.L.LLLLLLL.L.LLL.LL.....LLLLL.LL.CC.L.LLL..L.L.L.L..L."

Test #14:

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

input:

1000
L.LLL..LLL.L.L.LL.LL..LL...LLLLL........L..L.L....L.L..LL.LL.L.LLLL....L..L.LL..L.LL.LLLLL.LL..L.LL......LLLLL.L..LLLL..L....LLLL.LLL.LLLLLL.LLLLL.LLL.L...LLL.L.L..LL.LLLLL.L..LL......L....LLL.L..L..L...L.L.LLL..L....L..L.L..LL..LLLLL...L..L...LLL.L.LL.L.L...L.LLLLL.L.LL.L..LL.LLL..LLL.LLL.L......

output:

L.LLL..LLL.L.L.LL.LL..LL.C.LLLLL.CCCCCC.L..L.L.CC.L.L..LL.LL.L.LLLL.CC.L..L.LL..L.LL.LLLLL.LL..L.LL.CCCC.LLLLL.L..LLLL..L.CC.LLLL.LLL.LLLLLL.LLLLL.LLL.L.C.LLL.L.L..LL.LLLLL.L..LL.CCCC.L.CC.LLL.L..L..L.C.L.L.LLL..L.CC.L..L.L..LL..LLLLL.C.L..L.C.LLL.L.LL.L.L.C.L.LLLLL.L.LL.L..LL.LLL..LLL.LLL.L.CC.LLLL...

result:

ok "L.LLL..LLL.L.L.LL.LL..LL.C.LLL...C.L..L..LL.C.LLLL..L..L.L.L.CCC"

Test #15:

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

input:

1000
.L.L....LLLL.L...L..L..LLLLL.L.LLLL.LLL.LL.LLL...L..L.....L....LLL.L..LLL...L.LL.LL..L......LL.L....LLLLL..LLL.L.LLL..LLL.L..L.LL...L.LL...LLLLL.L.L...LLLLL.LLL..L..LL....LLLLLLL.......L.L.L..L....L..L.L..L....LLLLLL..LLL.LL.LL..L..L..LL.LLLLLL.....LLL..L.LL...L...LL..LLLL..........L....LL.L......

output:

.L.L.CC.LLLL.L.C.L..L..LLLLL.L.LLLL.LLL.LL.LLL.C.L..L.CCC.L.CC.LLL.L..LLL.C.L.LL.LL..L.CCCC.LL.L.CC.LLLLL..LLL.L.LLL..LLL.L..L.LL.C.L.LL.C.LLLLL.L.L.C.LLLLL.LLL..L..LL.CC.LLLLLLL.CCCCC.L.L.L..L.CC.L..L.L..L.CC.LLLLLL..LLL.LL.LL..L..L..LL.LLLLLL.CCC.LLL..L.LL.C.L.C.LL..LLLL.CCCCCCCC.L.CC.LL.L.CCC.LL....

result:

ok ".L.L.CC.LLLL.L.C.L..L..LLLLL.L....C.LL.L.C.LL.LL.LLLLL.CCC.L.C.L"

Test #16:

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

input:

1000
L...L....LL...LL.LL.L........L..LLLLLL.L..L.LL.L.L...L.......LL...LL..........L..L.........LL.L.....LL.LL..LL..L..LL..L.L..L...LL.L.L.LLL...L.L...L.....L...L.L.L.LLL..L.....L.LL...L....L....LL.....LL....L...LL..L..L..L..L...LL.LL...L......L............L.L..L....LLL.L...L......LL...LL.........L....

output:

L.C.L.CC.LL.C.LL.LL.L.CCCCCC.L..LLLLLL.L..L.LL.L.L.C.L.CCCCC.LL.C.LL.CCCCCCCC.L..L.CCCCCCC.LL.L.CCC.LL.LL..LL..L..LL..L.L..L.C.LL.L.L.LLL.C.L.L.C.L.CCC.L.C.L.L.L.LLL..L.CCC.L.LL.C.L.CC.L.CC.LL.CCC.LL.CC.L.C.LL..L..L..L..L.C.LL.LL.C.L.CCCC.L.CCCCCCCCCC.L.L..L.CC.LLL.L.C.L.CCCC.LL.C.LL.CCCCCCC.L.CC.LL...

result:

ok "L.C.L.CC.LL.C.LL.LL.L.CCCCCC.L...L.CCC.L.LL.CCC.LLLLL..LL.LL.CCC"

Test #17:

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

input:

1000
..L.......L......L...L.LL.......L...L......L..LL.........L...L...L....L...L....LL..L..L..L.......LL....L......L.L...L..L...........L..LL...L.....L.L.L........L........LL.................LL..L.L.LL..........L............L.........L.........L.......L.............L............L...LL.L.....L..LL......

output:

C.L.CCCCC.L.CCCC.L.C.L.LL.CCCCC.L.C.L.CCCC.L..LL.CCCCCCC.L.C.L.C.L.CC.L.C.L.CC.LL..L..L..L.CCCCC.LL.CC.L.CCCC.L.L.C.L..L.CCCCCCCCC.L..LL.C.L.CCC.L.L.L.CCCCCC.L.CCCCCC.LL.CCCCCCCCCCCCCCC.LL..L.L.LL.CCCCCCCC.L.CCCCCCCCCC.L.CCCCCCC.L.CCCCCCC.L.CCCCC.L.CCCCCCCCCCC.L.CCCCCCCCCC.L.C.LL.L.CCC.L..LL.CC.LL.L...

result:

ok "C.L.CCCCC.L.CCCC.L.C.L.LL.CCCC...CCCC.LL.LL.L.LL.CCCCCCCCCC.L.CC"

Test #18:

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

input:

1000
.........L................L.................L.......................L..L........L............L..L...L.L..L...L.........................................LL...L............L..L..L........................L...L.......L...........L..............L..L..L....L.....L...L.......L...L...................L.L...

output:

CCCCCCCC.L.CCCCCCCCCCCCCC.L.CCCCCCCCCCCCCCC.L.CCCCCCCCCCCCCCCCCCCCC.L..L.CCCCCC.L.CCCCCCCCCC.L..L.C.L.L..L.C.L.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.LL.C.L.CCCCCCCCCC.L..L..L.CCCCCCCCCCCCCCCCCCCCCC.L.C.L.CCCCC.L.CCCCCCCCC.L.CCCCCCCCCCCC.L..L..L.CC.L.CCC.L.C.L.CCCCC.L.C.L.CCCCCCCCCCCCCCCCC.L.L..L.....

result:

ok "CCCCCCCC.L.CCCCCCCCCCCCCC.L.CC...CCCCCCCCC.L.CCCC.L.CCC.L.L.CCCC"

Test #19:

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

input:

1000
..........................................................................................................................................................................................................................................................................................................

output:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...

result:

ok "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"

Test #20:

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

input:

1000
LLLL.L...LLLL..LLL.LLL.L....L.LLLLL.LL.L.LLLLLLLL..LLLLLL..LLL.L...L..L..L.LLLLL.L.L.L.LLL.LLLL.LLL.LLL.LLL..L.L..L.L.L..L.LLLL.LLLLLL...LLL..LL.LL.L.LLL.L.L.LLLLL..L.L.LL.LLLL....LLLLLL.LLLLLL.LLLL.LLL..L.LLLL..LL.LLL.LL.L.L.LLLLLL.LLLL.....LLLL.LLLL..LL...LLLLL.LLL...LLLL.LL.LLLLLL.LL.LLLL.L....

output:

LLLL.L.C.LLLL..LLL.LLL.L.CC.L.LLLLL.LL.L.LLLLLLLL..LLLLLL..LLL.L.C.L..L..L.LLLLL.L.L.L.LLL.LLLL.LLL.LLL.LLL..L.L..L.L.L..L.LLLL.LLLLLL.C.LLL..LL.LL.L.LLL.L.L.LLLLL..L.L.LL.LLLL.CC.LLLLLL.LLLLLL.LLLL.LLL..L.LLLL..LL.LLL.LL.L.L.LLLLLL.LLLL.CCC.LLLL.LLLL..LL.C.LLLLL.LLL.C.LLLL.LL.LLLLLL.LL.LLLL.L.L.LL....

result:

ok "LLLL.L.C.LLLL..LLL.LLL.L.CC.L.....LLLLLLLLLL.LLL.LLLLLL.LLL.C.LL"

Test #21:

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

input:

1000
LLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLLLLLLLLL.LL..LLLLL.LLLLLLLLLLLLLL.L.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.LLL.LLLLL..L.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLL..LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLL.LLLLLLLLLLLLLLLLLL...

output:

LLLLLLLLLLLLLLLLLL.LLLLLLLLL.LLLLLLLLLL.LL..LLLLL.LLLLLLLLLLLLLL.L.LLLLLLLLLLLLLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.LLL.LLLLL..L.LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLL..LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLL.LLLLLLLLLLLLLLLLLLLLLLL...

result:

ok "LLLLLLLLLLLLLLLLLL.LLLLLLLLL.L...LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL"

Test #22:

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

input:

1000
L.L....L.LLLL..LLLLLLL.LL.L...L..L..L.LLL..LL.LL..LL..LLL..L.LLLLL.LL..LLLL.LL..L.L....L..LL..LL..LLL..LLL..L...L..LLL..L..L..L.L.LL...L.LL..LLLLLLLLLL..L..LLL.LLL...L.L.L....LL....L.L.....LLL..L..LL..L.L...LLL.LLLL.LL.LL.LLLL.LLLL..L.LLLLL.L.L..LL.LL..LL..L.LL...LL.LLL.LL.LLL.LLL....L.L..LLL.L...

output:

L.L.CC.L.LLLL..LLLLLLL.LL.L.C.L..L..L.LLL..LL.LL..LL..LLL..L.LLLLL.LL..LLLL.LL..L.L.CC.L..LL..LL..LLL..LLL..L.C.L..LLL..L..L..L.L.LL.C.L.LL..LLLLLLLLLL..L..LLL.LLL.C.L.L.L.CC.LL.CC.L.L.CCC.LLL..L..LL..L.L.C.LLL.LLLL.LL.LL.LLLL.LLLL..L.LLLLL.L.L..LL.LL..LL..L.LL.C.LL.LLL.LL.LLL.LLL.CC.L.L..LLL.LL.L.L...

result:

ok "L.L.CC.L.LLLL..LLLLLLL.LL.L.C.....L.LLL.L.CCC.LL..LLL.C.LL.CCC.L"

Test #23:

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

input:

1000
LL.LLLL..LLL....LL.LL..LL..L......L..L.L.L.L......L.L.L.L.........L.LL.......L...L..L.LL....L..LL...LLLL....L.....LL...LLL.LL...LL.....L..L..LLL...LL..L.LLL..LLLL.L.LLLLL.L.LLLL.L..LL.L...L...L.L.L.L....L.LL..L...L.....L....LLL..L.L..LL.LLL.L....L.....L.L.L.L......L...L...L.LL......L.LLL.L.LLL....

output:

LL.LLLL..LLL.CC.LL.LL..LL..L.CCCC.L..L.L.L.L.CCCC.L.L.L.L.CCCCCCC.L.LL.CCCCC.L.C.L..L.LL.CC.L..LL.C.LLLL.CC.L.CCC.LL.C.LLL.LL.C.LL.CCC.L..L..LLL.C.LL..L.LLL..LLLL.L.LLLLL.L.LLLL.L..LL.L.C.L.C.L.L.L.L.CC.L.LL..L.C.L.CCC.L.CC.LLL..L.L..LL.LLL.L.CC.L.CCC.L.L.L.L.CCCC.L.C.L.C.L.LL.CCCC.L.LLL.L.LLL.CC.L....

result:

ok "LL.LLLL..LLL.CC.LL.LL..LL..L.C...LLLL.CC.L.LL.LLL.CCCCCCC.LLL.L."

Test #24:

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

input:

1000
...........L....L.L..........L.......L.....L..........................................L..L....L...L.......................................L........................................L...........L.L....L.........L.........L...L.......L..................L...L........L........L.....................L....

output:

CCCCCCCCCC.L.CC.L.L.CCCCCCCC.L.CCCCC.L.CCC.L.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.L..L.CC.L.C.L.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.L.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.L.CCCCCCCCC.L.L.CC.L.CCCCCCC.L.CCCCCCC.L.C.L.CCCCC.L.CCCCCCCCCCCCCCCC.L.C.L.CCCCCC.L.CCCCCC.L.CCCCCCCCCCCCCCCCCCC.L.L.CCC...

result:

ok "CCCCCCCCCC.L.CC.L.L.CCCCCCCC.L...L.CCCCCCCCCCCCCCCCCCCCCCCCCCCCC"

Test #25:

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

input:

1000
..LL.L..L...L.L....L..L........LL.L...L..............L..LL....L..........LL......L.........L...L.L.....L.............LL....L....L.........L.L.....L..L....L.LL......L..........L..LL...L.............L...LL.L......LL........L.........L..L...LL...L.....L.........L..L.L.L.......L.L..........L..........

output:

C.LL.L..L.C.L.L.CC.L..L.CCCCCC.LL.L.C.L.CCCCCCCCCCCC.L..LL.CC.L.CCCCCCCC.LL.CCCC.L.CCCCCCC.L.C.L.L.CCC.L.CCCCCCCCCCC.LL.CC.L.CC.L.CCCCCCC.L.L.CCC.L..L.CC.L.LL.CCCC.L.CCCCCCCC.L..LL.C.L.CCCCCCCCCCC.L.C.LL.L.CCCC.LL.CCCCCC.L.CCCCCCC.L..L.C.LL.C.L.CCC.L.CCCCCCC.L..L.L.L.CCCCC.L.L.CCCCCCCC.L.CCCCCCCCCCC...

result:

ok "C.LL.L..L.C.L.L.CC.L..L.CCCCCC...CCCCCCCCCCCC.L..L.CCC.L.CCCCCCC"

Test #26:

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

input:

1000
...L.LLLL.LLLLLL..LL...L..LLLLL.LLLLL.L.LL.L..LL.L.LLLLLLLLLLLLL.LLLLLL...LLL.LL.L...LL.LLLL.LL.LL.LLLLLLLLL..LLLL.L.L...LLLLL.LLL.L..LLLLLLLLLLLLLL..L...LLL.L.L.LL.LLLLLL.LLLL.LLL.LLLLL..LLL.L.LLLLLL.L..LL.LL.L.LL....LLLL.LL.LL..L.LLL.L...LL.LLL.LL.LL.LL...LL.L.L...L.LL.LLLL.LLLLL.LL.LL..LL.L....

output:

CC.L.LLLL.LLLLLL..LL.C.L..LLLLL.LLLLL.L.LL.L..LL.L.LLLLLLLLLLLLL.LLLLLL.C.LLL.LL.L.C.LL.LLLL.LL.LL.LLLLLLLLL..LLLL.L.L.C.LLLLL.LLL.L..LLLLLLLLLLLLLL..L.C.LLL.L.L.LL.LLLLLL.LLLL.LLL.LLLLL..LLL.L.LLLLLL.L..LL.LL.L.LL.CC.LLLL.LL.LL..L.LLL.L.C.LL.LLL.LL.LL.LL.C.LL.L.L.C.L.LL.LLLL.LLLLL.LL.LL..LL.L.CCC.L...

result:

ok "CC.L.LLLL.LLLLLL..LL.C.L..LLLL...L.CCC.LL.LLLLLL..LLL..LLLLL..LL"

Test #27:

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

input:

1000
LLLL.LLL.LL.LLL.LL.LL.LLLLLL.LLL.LLLLLLLLL.L.L.LLLLLLLLL.LLL.LL.LLLLLLLLLLLLLLLLL.LL.L.LLL.LLLLLL.L.LL.LLLL.LLLLLLLLL..LLLLLLLL..L.LLLLLLLLL..LLLLLLLLL.LLLL.LLLL.L.LL.LLL.LLLLL.L.LLLLLLL..LLLL.LLLLLL..LL..L.L.LL.LLLLLLLLLLLLLLLLLLLLLL.LLL.LL.L.LLLLLL..LLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLL...

output:

LLLL.LLL.LL.LLL.LL.LL.LLLLLL.LLL.LLLLLLLLL.L.L.LLLLLLLLL.LLL.LL.LLLLLLLLLLLLLLLLL.LL.L.LLL.LLLLLL.L.LL.LLLL.LLLLLLLLL..LLLLLLLL..L.LLLLLLLLL..LLLLLLLLL.LLLL.LLLL.L.LL.LLL.LLLLL.L.LLLLLLL..LLLL.LLLLLL..LL..L.L.LL.LLLLLLLLLLLLLLLLLLLLLL.LLL.LL.L.LLLLLL..LLLLL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLL.LLLL...

result:

ok "LLLL.LLL.LL.LLL.LL.LL.LLLLLL.L...LLLLLLL.LLLLLLL.LL.LLLLLL.LLLLL"

Test #28:

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

input:

1000
LLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.L.LLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LL.LLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLL....

output:

LLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.L.LLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LL.LLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LL.LLLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLL.LLLLL...

result:

ok "LLLL.LLLLLLLLLLLLLLLLLLLLLLLLL....LLL.LL.LLLLLLLL.LLLLLLLLLLLLLL"

Test #29:

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

input:

1000
.L.L...LLLL.L.LLL.LLLLL.L.LLLLL.L..........LL.L....LL.L.L.LL..LL.L.L.L..LL..LLL.LLL.L..L.L.L.LLL.L.L.L..LLLL..L...LLLLLL.LL..L....LLLL.LLLLLL...LL.L..L....LL.L.....LLL.LLLL.LL.LL...L..L.L.LL.L.L...LLL.LLLL.L.L.LL.L..LLLL.LLL.LL...LLL.L..L.L.L.LLLL..LL..L...LLLL.....L.LLL.LL..L.LLLLLLLLL...L.L.....

output:

.L.L.C.LLLL.L.LLL.LLLLL.L.LLLLL.L.CCCCCCCC.LL.L.CC.LL.L.L.LL..LL.L.L.L..LL..LLL.LLL.L..L.L.L.LLL.L.L.L..LLLL..L.C.LLLLLL.LL..L.CC.LLLL.LLLLLL.C.LL.L..L.CC.LL.L.CCC.LLL.LLLL.LL.LL.C.L..L.L.LL.L.L.C.LLL.LLLL.L.L.LL.L..LLLL.LLL.LL.C.LLL.L..L.L.L.LLLL..LL..L.C.LLLL.CCC.L.LLL.LL..L.LLLLLLLLL.C.L.L.C.L.LL...

result:

ok ".L.L.C.LLLL.L.LLL.LLLLL.L.LLLL...L..L.LL.C.L..L.LLLLL.LL.L.CCC.L"