QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#193372#5414. Stop, Yesterday Please No MorexwlWA 4ms7700kbC++201.8kb2023-09-30 17:00:012023-09-30 17:00:01

详细

Test #1:

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

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: 4ms
memory: 7700kb

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
20
99
18
0
0
240
15
2
0
2
14
18
26
16
1
19
0
0
2
2
0
0
0
30
16
21
0
0
10
9
15
0
320
11
7
3
0
0
12
0
0
0
0
14
0
22
36
51
23
7
0
4
2
48
28
8
63
0
49
13
0
4
108
10
18
44
0
15
9
91
4
30
14
99
105
10
14
17
0
66
0
0
28
0
34
56
0
14
56
90
14
0
121
3
48
36
36
13
13
30
7
0
3
11
16
0
0
34
24
38
0
21
0
...

result:

wrong answer 6th numbers differ - expected: '15', found: '0'