QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#713822#5414. Stop, Yesterday Please No Moreucup-team5622WA 4ms4660kbC++142.4kb2024-11-05 20:37:522024-11-05 20:37:57

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3552kb

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

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
99
9
15
17
240
7
0
0
9
11
18
26
0
6
17
108
4
2
2
3
7
0
15
4
15
0
7
10
9
4
5
320
9
5
3
0
0
5
0
11
0
0
7
0
22
36
51
12
7
6
2
2
48
28
8
63
22
49
13
5
4
108
10
9
44
0
13
8
0
4
30
12
99
105
10
14
17
0
66
8
11
28
52
16
56
11
10
56
90
14
0
121
3
48
2
33
10
0
30
5
8
3
11
16
45
20
34
0
20
0
4
0
39
0...

result:

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