QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#193031#5414. Stop, Yesterday Please No MorexwlWA 3ms5924kbC++201.5kb2023-09-30 16:13:292023-09-30 16:13:30

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5860kb

input:

3
4 5 3
ULDDRR
4 5 0
UUUUUUU
4 5 10
UUUUUUU

output:

2
20
0

result:

ok 3 number(s): "2 20 0"

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 5924kb

input:

1060
19 12 0
UDLDDUUUUDDDLLRDUDUURULUUUDRDUDRDRLRLRLULULLLDLDDRLUUUURUUUDDRLLRUUUDULURUULLRDRLRDDURDUUURRRLURLRUULRRUDURDLUUURDLURDDLUUURDDRLLURRDLRUDLRDRLLRRDRDDLDRURRRLUDULLLRUUDLRRURRDLLRRRDLLRDDDLRLRURURDDDL
11 1 0
UR
3 18 33
UDRLR
17 11 132
RLDRDLDRUU
6 10 13
UULUDDLRDLUUDLDD
1 15 0
D
6 20 50
D...

output:

228
11
0
0
0
0
0
0
0
0
0
0
0
18
0
0
0
0
0
0
1
20
0
0
0
0
0
0
0
0
0
9
0
1
320
0
0
3
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
48
28
8
0
0
0
0
0
0
0
0
0
44
0
0
0
0
0
30
0
0
105
0
0
0
0
0
0
11
0
2
0
0
0
0
0
90
0
0
0
0
48
0
0
4
0
0
0
0
0
8
0
0
0
0
0
0
0
0
0
0
0
96
0
48
0
0
225
0
0
0
0
11
0
90
0
0
228
0
0
0
270
...

result:

wrong answer 3rd numbers differ - expected: '20', found: '0'