QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#465531#5572. Gridlandiaucup-team4204AC ✓46ms109192kbC++144.3kb2024-07-07 00:24:272024-07-07 00:24:27

详细

Test #1:

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

input:

1

output:

U

result:

ok answer = 1

Test #2:

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

input:

2

output:

UR
UD

result:

ok answer = 4

Test #3:

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

input:

3

output:

URR
UD.
LDR

result:

ok answer = 8

Test #4:

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

input:

4

output:

URRR
UD.D
LD.D
D.D.

result:

ok answer = 12

Test #5:

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

input:

5

output:

URRRR
UD.D.
LD.DR
D.D.D
D.D.D

result:

ok answer = 18

Test #6:

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

input:

6

output:

URRRRR
UD.D.D
LD.D.D
D.D.D.
D.D.DR
D.D.D.

result:

ok answer = 24

Test #7:

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

input:

7

output:

URRRRRR
UD.D.D.
LD.D.DR
D.D.D.D
D.D.D.D
D.D.D.D
D.D.D.D

result:

ok answer = 32

Test #8:

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

input:

8

output:

URRRRRRR
UD.D.D.D
LD.D.D.D
D.D.D.D.
D.D.D.DR
D.D.D.D.
D.D.D.DR
D.D.D.D.

result:

ok answer = 40

Test #9:

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

input:

9

output:

URRRRRRRR
UD.D.D.D.
LD.D.D.DR
D.D.D.D.D
D.D.D.D.D
D.D.D.D.D
D.D.D.D.D
D.D.D.D.D
D.D.D.D.D

result:

ok answer = 50

Test #10:

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

input:

10

output:

URRRRRRRRR
UD.D.D.D.D
LD.D.D.D.D
D.D.D.D.D.
D.D.D.D.DR
D.D.D.D.D.
D.D.D.D.DR
D.D.D.D.D.
D.D.D.D.DR
D.D.D.D.D.

result:

ok answer = 60

Test #11:

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

input:

11

output:

URRRRRRRRRR
UD.D.D.D.D.
LD.D.D.D.DR
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D
D.D.D.D.D.D

result:

ok answer = 72

Test #12:

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

input:

12

output:

URRRRRRRRRRR
UD.D.D.D.D.D
LD.D.D.D.D.D
D.D.D.D.D.D.
D.D.D.D.D.DR
D.D.D.D.D.D.
D.D.D.D.D.DR
D.D.D.D.D.D.
D.D.D.D.D.DR
D.D.D.D.D.D.
D.D.D.D.D.DR
D.D.D.D.D.D.

result:

ok answer = 84

Test #13:

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

input:

13

output:

URRRRRRRRRRRR
UD.D.D.D.D.D.
LD.D.D.D.D.DR
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D
D.D.D.D.D.D.D

result:

ok answer = 98

Test #14:

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

input:

14

output:

URRRRRRRRRRRRR
UD.D.D.D.D.D.D
LD.D.D.D.D.D.D
D.D.D.D.D.D.D.
D.D.D.D.D.D.DR
D.D.D.D.D.D.D.
D.D.D.D.D.D.DR
D.D.D.D.D.D.D.
D.D.D.D.D.D.DR
D.D.D.D.D.D.D.
D.D.D.D.D.D.DR
D.D.D.D.D.D.D.
D.D.D.D.D.D.DR
D.D.D.D.D.D.D.

result:

ok answer = 112

Test #15:

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

input:

15

output:

URRRRRRRRRRRRRR
UD.D.D.D.D.D.D.
LD.D.D.D.D.D.DR
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D

result:

ok answer = 128

Test #16:

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

input:

16

output:

URRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D
LD.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.

result:

ok answer = 144

Test #17:

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

input:

17

output:

URRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.
LD.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D
D.D.D.D.D.D....

result:

ok answer = 162

Test #18:

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

input:

18

output:

URRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D
LD.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D...

result:

ok answer = 180

Test #19:

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

input:

19

output:

URRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.
LD.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D
...

result:

ok answer = 200

Test #20:

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

input:

20

output:

URRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D
LD.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.
D.D.D....

result:

ok answer = 220

Test #21:

score: 0
Accepted
time: 23ms
memory: 105392kb

input:

980

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 481180

Test #22:

score: 0
Accepted
time: 34ms
memory: 105592kb

input:

981

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 482162

Test #23:

score: 0
Accepted
time: 24ms
memory: 105768kb

input:

982

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 483144

Test #24:

score: 0
Accepted
time: 12ms
memory: 105884kb

input:

983

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 484128

Test #25:

score: 0
Accepted
time: 25ms
memory: 106172kb

input:

984

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 485112

Test #26:

score: 0
Accepted
time: 11ms
memory: 106348kb

input:

985

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 486098

Test #27:

score: 0
Accepted
time: 25ms
memory: 106464kb

input:

986

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 487084

Test #28:

score: 0
Accepted
time: 25ms
memory: 106740kb

input:

987

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 488072

Test #29:

score: 0
Accepted
time: 23ms
memory: 106848kb

input:

988

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 489060

Test #30:

score: 0
Accepted
time: 46ms
memory: 107120kb

input:

989

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 490050

Test #31:

score: 0
Accepted
time: 35ms
memory: 107296kb

input:

990

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 491040

Test #32:

score: 0
Accepted
time: 27ms
memory: 107552kb

input:

991

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 492032

Test #33:

score: 0
Accepted
time: 19ms
memory: 107632kb

input:

992

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 493024

Test #34:

score: 0
Accepted
time: 23ms
memory: 107820kb

input:

993

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 494018

Test #35:

score: 0
Accepted
time: 22ms
memory: 108080kb

input:

994

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 495012

Test #36:

score: 0
Accepted
time: 19ms
memory: 108284kb

input:

995

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 496008

Test #37:

score: 0
Accepted
time: 23ms
memory: 108464kb

input:

996

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 497004

Test #38:

score: 0
Accepted
time: 20ms
memory: 108596kb

input:

997

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 498002

Test #39:

score: 0
Accepted
time: 19ms
memory: 108928kb

input:

998

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 499000

Test #40:

score: 0
Accepted
time: 15ms
memory: 108944kb

input:

999

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 500000

Test #41:

score: 0
Accepted
time: 15ms
memory: 109192kb

input:

1000

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 501000

Test #42:

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

input:

113

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.
LD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D...

result:

ok answer = 6498

Test #43:

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

input:

844

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 357012

Test #44:

score: 0
Accepted
time: 12ms
memory: 51352kb

input:

629

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 198450

Test #45:

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

input:

303

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 46208

Test #46:

score: 0
Accepted
time: 23ms
memory: 106320kb

input:

985

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 486098

Test #47:

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

input:

111

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.
LD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D...

result:

ok answer = 6272

Test #48:

score: 0
Accepted
time: 12ms
memory: 102392kb

input:

964

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 465612

Test #49:

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

input:

35

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.
LD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D....

result:

ok answer = 648

Test #50:

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

input:

159

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D...

result:

ok answer = 12800

Test #51:

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

input:

515

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 133128

Test #52:

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

input:

82

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
LD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D...

result:

ok answer = 3444

Test #53:

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

input:

779

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 304200

Test #54:

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

input:

54

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
LD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.
D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.DR
D.D.D.D.D.D.D.D.D.D.D.D.D...

result:

ok answer = 1512

Test #55:

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

input:

178

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
UD.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D....

result:

ok answer = 16020

Test #56:

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

input:

492

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 121524

Test #57:

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

input:

400

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 80400

Test #58:

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

input:

567

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 161312

Test #59:

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

input:

785

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 308898

Test #60:

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

input:

643

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 207368

Test #61:

score: 0
Accepted
time: 11ms
memory: 96340kb

input:

932

output:

URRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...

result:

ok answer = 435244