QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#184074#5414. Stop, Yesterday Please No Morecbant15#WA 3ms3752kbC++142.1kb2023-09-20 11:42:482023-09-20 11:42:49

详细

Test #1:

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

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: 3752kb

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
17
0
18
15
21
240
0
0
0
0
0
18
0
16
1
31
0
0
1
2
0
7
0
29
4
0
0
0
0
9
6
5
320
0
5
0
0
0
7
0
0
0
0
0
0
22
0
51
23
0
6
3
0
48
28
8
1
0
49
13
0
2
12
6
18
44
0
0
0
0
4
30
0
99
105
2
0
17
0
66
10
11
28
0
32
0
22
14
0
90
0
0
22
3
48
29
0
0
0
30
0
0
0
10
0
45
0
17
0
20
0
21
0
6
0
0
0
48
0
10
225
0
0...

result:

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