QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#507383#5572. Gridlandiaucup-team1365#AC ✓10ms4668kbC++17912b2024-08-06 17:01:502024-08-06 17:01:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

R

result:

ok answer = 1

Test #2:

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

input:

2

output:

LU
DR

result:

ok answer = 4

Test #3:

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

input:

3

output:

LLU
D.U
DRR

result:

ok answer = 8

Test #4:

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

input:

4

output:

LLUR
D.U.
DRRR
D.D.

result:

ok answer = 12

Test #5:

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

input:

5

output:

LLLLU
....U
LLLLU
D.D.U
D.DRR

result:

ok answer = 18

Test #6:

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

input:

6

output:

LLLLUR
....U.
LLLLUR
D.D.U.
D.DRRR
D.D.D.

result:

ok answer = 24

Test #7:

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

input:

7

output:

LLLLLLU
......U
LLLLLLU
......U
LLLLLLU
D.D.D.U
D.D.DRR

result:

ok answer = 32

Test #8:

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

input:

8

output:

LLLLLLUR
......U.
LLLLLLUR
......U.
LLLLLLUR
D.D.D.U.
D.D.DRRR
D.D.D.D.

result:

ok answer = 40

Test #9:

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

input:

9

output:

LLLLLLLLU
........U
LLLLLLLLU
........U
LLLLLLLLU
........U
LLLLLLLLU
D.D.D.D.U
D.D.D.DRR

result:

ok answer = 50

Test #10:

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

input:

10

output:

LLLLLLLLUR
........U.
LLLLLLLLUR
........U.
LLLLLLLLUR
........U.
LLLLLLLLUR
D.D.D.D.U.
D.D.D.DRRR
D.D.D.D.D.

result:

ok answer = 60

Test #11:

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

input:

11

output:

LLLLLLLLLLU
..........U
LLLLLLLLLLU
..........U
LLLLLLLLLLU
..........U
LLLLLLLLLLU
..........U
LLLLLLLLLLU
D.D.D.D.D.U
D.D.D.D.DRR

result:

ok answer = 72

Test #12:

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

input:

12

output:

LLLLLLLLLLUR
..........U.
LLLLLLLLLLUR
..........U.
LLLLLLLLLLUR
..........U.
LLLLLLLLLLUR
..........U.
LLLLLLLLLLUR
D.D.D.D.D.U.
D.D.D.D.DRRR
D.D.D.D.D.D.

result:

ok answer = 84

Test #13:

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

input:

13

output:

LLLLLLLLLLLLU
............U
LLLLLLLLLLLLU
............U
LLLLLLLLLLLLU
............U
LLLLLLLLLLLLU
............U
LLLLLLLLLLLLU
............U
LLLLLLLLLLLLU
D.D.D.D.D.D.U
D.D.D.D.D.DRR

result:

ok answer = 98

Test #14:

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

input:

14

output:

LLLLLLLLLLLLUR
............U.
LLLLLLLLLLLLUR
............U.
LLLLLLLLLLLLUR
............U.
LLLLLLLLLLLLUR
............U.
LLLLLLLLLLLLUR
............U.
LLLLLLLLLLLLUR
D.D.D.D.D.D.U.
D.D.D.D.D.DRRR
D.D.D.D.D.D.D.

result:

ok answer = 112

Test #15:

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

input:

15

output:

LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
..............U
LLLLLLLLLLLLLLU
D.D.D.D.D.D.D.U
D.D.D.D.D.D.DRR

result:

ok answer = 128

Test #16:

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

input:

16

output:

LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
..............U.
LLLLLLLLLLLLLLUR
D.D.D.D.D.D.D.U.
D.D.D.D.D.D.DRRR
D.D.D.D.D.D.D.D.

result:

ok answer = 144

Test #17:

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

input:

17

output:

LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
................U
LLLLLLLLLLLLLLLLU
D.D.D.D.D.D.D.D.U
D.D.D.D.D.D....

result:

ok answer = 162

Test #18:

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

input:

18

output:

LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
................U.
LLLLLLLLLLLLLLLLUR
D.D.D.D.D.D.D.D...

result:

ok answer = 180

Test #19:

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

input:

19

output:

LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
..................U
LLLLLLLLLLLLLLLLLLU
...

result:

ok answer = 200

Test #20:

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

input:

20

output:

LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLLLLLLLLLLLLLLUR
..................U.
LLLLLL...

result:

ok answer = 220

Test #21:

score: 0
Accepted
time: 9ms
memory: 4588kb

input:

980

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 481180

Test #22:

score: 0
Accepted
time: 6ms
memory: 4564kb

input:

981

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 482162

Test #23:

score: 0
Accepted
time: 9ms
memory: 4584kb

input:

982

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 483144

Test #24:

score: 0
Accepted
time: 9ms
memory: 4596kb

input:

983

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 484128

Test #25:

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

input:

984

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 485112

Test #26:

score: 0
Accepted
time: 6ms
memory: 4528kb

input:

985

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 486098

Test #27:

score: 0
Accepted
time: 4ms
memory: 4632kb

input:

986

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 487084

Test #28:

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

input:

987

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 488072

Test #29:

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

input:

988

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 489060

Test #30:

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

input:

989

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 490050

Test #31:

score: 0
Accepted
time: 6ms
memory: 4584kb

input:

990

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 491040

Test #32:

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

input:

991

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 492032

Test #33:

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

input:

992

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 493024

Test #34:

score: 0
Accepted
time: 6ms
memory: 4572kb

input:

993

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 494018

Test #35:

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

input:

994

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 495012

Test #36:

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

input:

995

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 496008

Test #37:

score: 0
Accepted
time: 7ms
memory: 4640kb

input:

996

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 497004

Test #38:

score: 0
Accepted
time: 6ms
memory: 4612kb

input:

997

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 498002

Test #39:

score: 0
Accepted
time: 6ms
memory: 4664kb

input:

998

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 499000

Test #40:

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

input:

999

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 500000

Test #41:

score: 0
Accepted
time: 6ms
memory: 4600kb

input:

1000

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 501000

Test #42:

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

input:

113

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
................................................................................................................U
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 6498

Test #43:

score: 0
Accepted
time: 7ms
memory: 4368kb

input:

844

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 357012

Test #44:

score: 0
Accepted
time: 4ms
memory: 4236kb

input:

629

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 198450

Test #45:

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

input:

303

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 46208

Test #46:

score: 0
Accepted
time: 9ms
memory: 4524kb

input:

985

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 486098

Test #47:

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

input:

111

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
..............................................................................................................U
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 6272

Test #48:

score: 0
Accepted
time: 9ms
memory: 4556kb

input:

964

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 465612

Test #49:

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

input:

35

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
..................................U
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
..................................U
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
..................................U
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
..................................U
LLLLLLLLLLLL...

result:

ok answer = 648

Test #50:

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

input:

159

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLU
...............................................................................................................................................

result:

ok answer = 12800

Test #51:

score: 0
Accepted
time: 3ms
memory: 4040kb

input:

515

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 133128

Test #52:

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

input:

82

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
................................................................................U.
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
......................................................

result:

ok answer = 3444

Test #53:

score: 0
Accepted
time: 6ms
memory: 4368kb

input:

779

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 304200

Test #54:

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

input:

54

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
....................................................U.
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
....................................................U.
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
............................

result:

ok answer = 1512

Test #55:

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

input:

178

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLUR
............................................................................................................................

result:

ok answer = 16020

Test #56:

score: 0
Accepted
time: 3ms
memory: 4072kb

input:

492

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 121524

Test #57:

score: 0
Accepted
time: 2ms
memory: 3988kb

input:

400

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 80400

Test #58:

score: 0
Accepted
time: 3ms
memory: 4180kb

input:

567

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 161312

Test #59:

score: 0
Accepted
time: 6ms
memory: 4448kb

input:

785

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 308898

Test #60:

score: 0
Accepted
time: 4ms
memory: 4296kb

input:

643

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 207368

Test #61:

score: 0
Accepted
time: 8ms
memory: 4532kb

input:

932

output:

LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL...

result:

ok answer = 435244