QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#107286 | #5572. Gridlandia | chenchi# | AC ✓ | 820ms | 75512kb | C++20 | 2.3kb | 2023-05-20 20:45:27 | 2023-05-20 20:45:28 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 9ms
memory: 43272kb
input:
1
output:
L
result:
ok answer = 1
Test #2:
score: 0
Accepted
time: 17ms
memory: 43320kb
input:
2
output:
LU DR
result:
ok answer = 4
Test #3:
score: 0
Accepted
time: 7ms
memory: 43272kb
input:
3
output:
LUR RR. LDR
result:
ok answer = 8
Test #4:
score: 0
Accepted
time: 0ms
memory: 43272kb
input:
4
output:
LURR RR.D LD.D D.D.
result:
ok answer = 12
Test #5:
score: 0
Accepted
time: 1ms
memory: 43240kb
input:
5
output:
LURRR RR.D. LD.DR D.D.D D.D.D
result:
ok answer = 18
Test #6:
score: 0
Accepted
time: 4ms
memory: 43272kb
input:
6
output:
LURRRR RR.D.D LD.D.D D.D.D. D.D.DR D.D.D.
result:
ok answer = 24
Test #7:
score: 0
Accepted
time: 12ms
memory: 43188kb
input:
7
output:
LURRRRR RR.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: 8ms
memory: 43236kb
input:
8
output:
LURRRRRR RR.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: 4ms
memory: 43276kb
input:
9
output:
LURRRRRRR RR.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: 7ms
memory: 43228kb
input:
10
output:
LURRRRRRRR RR.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: 8ms
memory: 43296kb
input:
11
output:
LURRRRRRRRR RR.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: 15ms
memory: 43224kb
input:
12
output:
LURRRRRRRRRR RR.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: 8ms
memory: 43348kb
input:
13
output:
LURRRRRRRRRRR RR.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: 7ms
memory: 43284kb
input:
14
output:
LURRRRRRRRRRRR RR.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: 3ms
memory: 43264kb
input:
15
output:
LURRRRRRRRRRRRR RR.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: 13ms
memory: 43268kb
input:
16
output:
LURRRRRRRRRRRRRR RR.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: 4ms
memory: 43232kb
input:
17
output:
LURRRRRRRRRRRRRRR RR.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: 11ms
memory: 43280kb
input:
18
output:
LURRRRRRRRRRRRRRRR RR.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: 8ms
memory: 43280kb
input:
19
output:
LURRRRRRRRRRRRRRRRR RR.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: 9ms
memory: 43188kb
input:
20
output:
LURRRRRRRRRRRRRRRRRR RR.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: 741ms
memory: 74212kb
input:
980
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 481180
Test #22:
score: 0
Accepted
time: 751ms
memory: 74232kb
input:
981
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 482162
Test #23:
score: 0
Accepted
time: 763ms
memory: 74464kb
input:
982
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 483144
Test #24:
score: 0
Accepted
time: 772ms
memory: 74436kb
input:
983
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 484128
Test #25:
score: 0
Accepted
time: 756ms
memory: 74568kb
input:
984
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 485112
Test #26:
score: 0
Accepted
time: 820ms
memory: 74532kb
input:
985
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 486098
Test #27:
score: 0
Accepted
time: 775ms
memory: 74632kb
input:
986
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 487084
Test #28:
score: 0
Accepted
time: 774ms
memory: 74704kb
input:
987
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 488072
Test #29:
score: 0
Accepted
time: 770ms
memory: 74780kb
input:
988
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 489060
Test #30:
score: 0
Accepted
time: 795ms
memory: 74804kb
input:
989
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 490050
Test #31:
score: 0
Accepted
time: 764ms
memory: 74860kb
input:
990
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 491040
Test #32:
score: 0
Accepted
time: 760ms
memory: 74952kb
input:
991
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 492032
Test #33:
score: 0
Accepted
time: 776ms
memory: 74996kb
input:
992
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 493024
Test #34:
score: 0
Accepted
time: 787ms
memory: 75164kb
input:
993
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 494018
Test #35:
score: 0
Accepted
time: 779ms
memory: 75204kb
input:
994
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 495012
Test #36:
score: 0
Accepted
time: 796ms
memory: 75216kb
input:
995
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 496008
Test #37:
score: 0
Accepted
time: 799ms
memory: 75288kb
input:
996
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 497004
Test #38:
score: 0
Accepted
time: 796ms
memory: 75284kb
input:
997
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 498002
Test #39:
score: 0
Accepted
time: 787ms
memory: 75356kb
input:
998
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 499000
Test #40:
score: 0
Accepted
time: 803ms
memory: 75380kb
input:
999
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 500000
Test #41:
score: 0
Accepted
time: 805ms
memory: 75512kb
input:
1000
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 501000
Test #42:
score: 0
Accepted
time: 12ms
memory: 43604kb
input:
113
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.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: 573ms
memory: 66332kb
input:
844
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 357012
Test #44:
score: 0
Accepted
time: 319ms
memory: 56052kb
input:
629
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 198450
Test #45:
score: 0
Accepted
time: 80ms
memory: 46232kb
input:
303
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 46208
Test #46:
score: 0
Accepted
time: 760ms
memory: 74652kb
input:
985
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 486098
Test #47:
score: 0
Accepted
time: 21ms
memory: 43640kb
input:
111
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.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: 743ms
memory: 73212kb
input:
964
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 465612
Test #49:
score: 0
Accepted
time: 4ms
memory: 43232kb
input:
35
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.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: 22ms
memory: 44076kb
input:
159
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.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: 207ms
memory: 51844kb
input:
515
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 133128
Test #52:
score: 0
Accepted
time: 7ms
memory: 43556kb
input:
82
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.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: 485ms
memory: 62876kb
input:
779
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 304200
Test #54:
score: 0
Accepted
time: 9ms
memory: 43448kb
input:
54
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.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: 34ms
memory: 44288kb
input:
178
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RR.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.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: 207ms
memory: 51080kb
input:
492
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 121524
Test #57:
score: 0
Accepted
time: 133ms
memory: 48452kb
input:
400
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 80400
Test #58:
score: 0
Accepted
time: 258ms
memory: 53656kb
input:
567
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 161312
Test #59:
score: 0
Accepted
time: 477ms
memory: 63216kb
input:
785
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 308898
Test #60:
score: 0
Accepted
time: 336ms
memory: 56576kb
input:
643
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 207368
Test #61:
score: 0
Accepted
time: 686ms
memory: 71364kb
input:
932
output:
LURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 435244