QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#408108#5414. Stop, Yesterday Please No Moremaisui12138WA 8ms5072kbC++172.5kb2024-05-09 18:35:412024-05-09 18:35:43

详细

Test #1:

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

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

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
3
6
8
15
3
0
8
0
0
6
6
18
4
0
37
16
16
3
0
0
0
171
0
6
7
4
0
2
3
9
29
0
320
7
0
0
2
6
15
0
5
8
8
6
2
22
5
51
13
16
21
0
12
48
28
8
11
0
5
0
3
0
16
0
0
44
0
6
3
0
4
30
6
9
216
4
6
17
4
66
3
11
81
1
5
4
5
2
0
90
4
6
17
0
48
0
12
7
0
30
0
2
6
9
5
3
7
33
0
4
2
4
0
16
0
5
12
48
12
6
151
5
8
9
5
11...

result:

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