QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#507846#5414. Stop, Yesterday Please No Moreucup-team1154WA 7ms11800kbC++172.8kb2024-08-06 21:40:182024-08-06 21:40:18

详细

Test #1:

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

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

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
179
20
15
40
240
26
0
0
11
15
18
26
16
161
31
140
56
11
12
5
107
178
30
23
28
0
10
14
9
17
33
320
12
30
12
8
1
8
0
26
0
0
20
0
22
36
51
31
7
6
9
16
48
28
8
69
37
55
18
16
1
134
11
31
44
0
18
22
0
4
30
14
119
105
9
37
17
0
66
26
11
28
63
34
61
52
13
66
90
15
6
189
4
48
36
40
29
0
30
8
24
3
...

result:

wrong answer 4th numbers differ - expected: '99', found: '179'