QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#507830#5414. Stop, Yesterday Please No Moreucup-team1154WA 13ms14144kbC++172.8kb2024-08-06 21:31:492024-08-06 21:31:49

详细

Test #1:

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

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

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

result:

wrong answer 5th numbers differ - expected: '18', found: '12'