QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#219472 | #5572. Gridlandia | ucup-team864# | AC ✓ | 5ms | 5328kb | C++20 | 1.2kb | 2023-10-19 15:18:41 | 2023-10-19 15:18:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3588kb
input:
1
output:
U
result:
ok answer = 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
2
output:
UR LD
result:
ok answer = 4
Test #3:
score: 0
Accepted
time: 1ms
memory: 3468kb
input:
3
output:
UDU L.R DUD
result:
ok answer = 8
Test #4:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
4
output:
U.UR LUR. .LDR LD.D
result:
ok answer = 12
Test #5:
score: 0
Accepted
time: 0ms
memory: 3468kb
input:
5
output:
UDURR L.R.. DUDRR D.D.D D.D.D
result:
ok answer = 18
Test #6:
score: 0
Accepted
time: 1ms
memory: 3456kb
input:
6
output:
U.U.UR LU.UR. .LUR.R L.LDR. .LD.DR LD.D.D
result:
ok answer = 24
Test #7:
score: 0
Accepted
time: 0ms
memory: 3468kb
input:
7
output:
UDURRRR L.R.... DUDRRRR 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: 0ms
memory: 3432kb
input:
8
output:
U.U.U.UR LU.U.UR. .LU.UR.R L.LUR.R. .L.LDR.R L.LD.DR. .LD.D.DR LD.D.D.D
result:
ok answer = 40
Test #9:
score: 0
Accepted
time: 1ms
memory: 3464kb
input:
9
output:
UDURRRRRR L.R...... DUDRRRRRR D.D.D.D.D D.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: 3472kb
input:
10
output:
U.U.U.U.UR LU.U.U.UR. .LU.U.UR.R L.LU.UR.R. .L.LUR.R.R L.L.LDR.R. .L.LD.DR.R L.LD.D.DR. .LD.D.D.DR LD.D.D.D.D
result:
ok answer = 60
Test #11:
score: 0
Accepted
time: 0ms
memory: 3472kb
input:
11
output:
UDURRRRRRRR L.R........ DUDRRRRRRRR D.D.D.D.D.D D.D.D.D.D.D D.D.D.D.D.D D.D.D.D.D.D 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: 3412kb
input:
12
output:
U.U.U.U.U.UR LU.U.U.U.UR. .LU.U.U.UR.R L.LU.U.UR.R. .L.LU.UR.R.R L.L.LUR.R.R. .L.L.LDR.R.R L.L.LD.DR.R. .L.LD.D.DR.R L.LD.D.D.DR. .LD.D.D.D.DR LD.D.D.D.D.D
result:
ok answer = 84
Test #13:
score: 0
Accepted
time: 1ms
memory: 3468kb
input:
13
output:
UDURRRRRRRRRR L.R.......... DUDRRRRRRRRRR D.D.D.D.D.D.D D.D.D.D.D.D.D D.D.D.D.D.D.D D.D.D.D.D.D.D D.D.D.D.D.D.D D.D.D.D.D.D.D D.D.D.D.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: 3604kb
input:
14
output:
U.U.U.U.U.U.UR LU.U.U.U.U.UR. .LU.U.U.U.UR.R L.LU.U.U.UR.R. .L.LU.U.UR.R.R L.L.LU.UR.R.R. .L.L.LUR.R.R.R L.L.L.LDR.R.R. .L.L.LD.DR.R.R L.L.LD.D.DR.R. .L.LD.D.D.DR.R L.LD.D.D.D.DR. .LD.D.D.D.D.DR LD.D.D.D.D.D.D
result:
ok answer = 112
Test #15:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
15
output:
UDURRRRRRRRRRRR L.R............ DUDRRRRRRRRRRRR D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D 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: 3472kb
input:
16
output:
U.U.U.U.U.U.U.UR LU.U.U.U.U.U.UR. .LU.U.U.U.U.UR.R L.LU.U.U.U.UR.R. .L.LU.U.U.UR.R.R L.L.LU.U.UR.R.R. .L.L.LU.UR.R.R.R L.L.L.LUR.R.R.R. .L.L.L.LDR.R.R.R L.L.L.LD.DR.R.R. .L.L.LD.D.DR.R.R L.L.LD.D.D.DR.R. .L.LD.D.D.D.DR.R L.LD.D.D.D.D.DR. .LD.D.D.D.D.D.DR LD.D.D.D.D.D.D.D
result:
ok answer = 144
Test #17:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
17
output:
UDURRRRRRRRRRRRRR L.R.............. DUDRRRRRRRRRRRRRR D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D 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: 0ms
memory: 3476kb
input:
18
output:
U.U.U.U.U.U.U.U.UR LU.U.U.U.U.U.U.UR. .LU.U.U.U.U.U.UR.R L.LU.U.U.U.U.UR.R. .L.LU.U.U.U.UR.R.R L.L.LU.U.U.UR.R.R. .L.L.LU.U.UR.R.R.R L.L.L.LU.UR.R.R.R. .L.L.L.LUR.R.R.R.R L.L.L.L.LDR.R.R.R. .L.L.L.LD.DR.R.R.R L.L.L.LD.D.DR.R.R. .L.L.LD.D.D.DR.R.R L.L.LD.D.D.D.DR.R. .L.LD.D.D.D.D.DR.R L.LD.D.D.D.D.D....
result:
ok answer = 180
Test #19:
score: 0
Accepted
time: 0ms
memory: 3476kb
input:
19
output:
UDURRRRRRRRRRRRRRRR L.R................ DUDRRRRRRRRRRRRRRRR D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.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: 3420kb
input:
20
output:
U.U.U.U.U.U.U.U.U.UR LU.U.U.U.U.U.U.U.UR. .LU.U.U.U.U.U.U.UR.R L.LU.U.U.U.U.U.UR.R. .L.LU.U.U.U.U.UR.R.R L.L.LU.U.U.U.UR.R.R. .L.L.LU.U.U.UR.R.R.R L.L.L.LU.U.UR.R.R.R. .L.L.L.LU.UR.R.R.R.R L.L.L.L.LUR.R.R.R.R. .L.L.L.L.LDR.R.R.R.R L.L.L.L.LD.DR.R.R.R. .L.L.L.LD.D.DR.R.R.R L.L.L.LD.D.D.DR.R.R. .L.L.L...
result:
ok answer = 220
Test #21:
score: 0
Accepted
time: 0ms
memory: 5248kb
input:
980
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 481180
Test #22:
score: 0
Accepted
time: 2ms
memory: 5120kb
input:
981
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 482162
Test #23:
score: 0
Accepted
time: 5ms
memory: 5120kb
input:
982
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 483144
Test #24:
score: 0
Accepted
time: 2ms
memory: 5132kb
input:
983
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 484128
Test #25:
score: 0
Accepted
time: 0ms
memory: 5220kb
input:
984
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 485112
Test #26:
score: 0
Accepted
time: 0ms
memory: 5128kb
input:
985
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 486098
Test #27:
score: 0
Accepted
time: 5ms
memory: 5260kb
input:
986
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 487084
Test #28:
score: 0
Accepted
time: 3ms
memory: 5140kb
input:
987
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 488072
Test #29:
score: 0
Accepted
time: 5ms
memory: 5228kb
input:
988
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 489060
Test #30:
score: 0
Accepted
time: 5ms
memory: 5136kb
input:
989
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 490050
Test #31:
score: 0
Accepted
time: 0ms
memory: 5148kb
input:
990
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 491040
Test #32:
score: 0
Accepted
time: 0ms
memory: 5192kb
input:
991
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 492032
Test #33:
score: 0
Accepted
time: 3ms
memory: 5184kb
input:
992
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 493024
Test #34:
score: 0
Accepted
time: 5ms
memory: 5136kb
input:
993
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 494018
Test #35:
score: 0
Accepted
time: 2ms
memory: 5280kb
input:
994
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 495012
Test #36:
score: 0
Accepted
time: 5ms
memory: 5224kb
input:
995
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 496008
Test #37:
score: 0
Accepted
time: 3ms
memory: 5212kb
input:
996
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 497004
Test #38:
score: 0
Accepted
time: 5ms
memory: 5176kb
input:
997
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 498002
Test #39:
score: 0
Accepted
time: 0ms
memory: 5328kb
input:
998
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 499000
Test #40:
score: 0
Accepted
time: 5ms
memory: 5148kb
input:
999
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 500000
Test #41:
score: 0
Accepted
time: 2ms
memory: 5256kb
input:
1000
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 501000
Test #42:
score: 0
Accepted
time: 1ms
memory: 3492kb
input:
113
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR L.R.............................................................................................................. DUDRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 6498
Test #43:
score: 0
Accepted
time: 3ms
memory: 4292kb
input:
844
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 357012
Test #44:
score: 0
Accepted
time: 0ms
memory: 4092kb
input:
629
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 198450
Test #45:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
303
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 46208
Test #46:
score: 0
Accepted
time: 0ms
memory: 5180kb
input:
985
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 486098
Test #47:
score: 0
Accepted
time: 1ms
memory: 3436kb
input:
111
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR L.R............................................................................................................ DUDRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 6272
Test #48:
score: 0
Accepted
time: 5ms
memory: 5104kb
input:
964
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 465612
Test #49:
score: 0
Accepted
time: 1ms
memory: 3640kb
input:
35
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR L.R................................ DUDRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D 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: 1ms
memory: 3516kb
input:
159
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR L.R............................................................................................................................................
result:
ok answer = 12800
Test #51:
score: 0
Accepted
time: 2ms
memory: 3976kb
input:
515
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 133128
Test #52:
score: 0
Accepted
time: 0ms
memory: 3388kb
input:
82
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR. .LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR.R L.LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 3444
Test #53:
score: 0
Accepted
time: 3ms
memory: 4232kb
input:
779
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 304200
Test #54:
score: 0
Accepted
time: 1ms
memory: 3480kb
input:
54
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR. .LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR.R L.LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR.R. .L.LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR.R.R L.L.LU.U.U.U.U.U.U.U.U.U....
result:
ok answer = 1512
Test #55:
score: 0
Accepted
time: 0ms
memory: 3464kb
input:
178
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.UR LU.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 16020
Test #56:
score: 0
Accepted
time: 1ms
memory: 3948kb
input:
492
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 121524
Test #57:
score: 0
Accepted
time: 1ms
memory: 3668kb
input:
400
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 80400
Test #58:
score: 0
Accepted
time: 2ms
memory: 4192kb
input:
567
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 161312
Test #59:
score: 0
Accepted
time: 0ms
memory: 4348kb
input:
785
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 308898
Test #60:
score: 0
Accepted
time: 0ms
memory: 4088kb
input:
643
output:
UDURRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR...
result:
ok answer = 207368
Test #61:
score: 0
Accepted
time: 3ms
memory: 4496kb
input:
932
output:
U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U.U....
result:
ok answer = 435244