QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#508239#5414. Stop, Yesterday Please No Moreucup-team1154WA 5ms11820kbC++172.7kb2024-08-07 10:34:232024-08-07 10:34:23

详细

Test #1:

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

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

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
22
19
108
8
2
2
3
60
11
15
3
5
0
8
10
9
9
5
320
9
7
3
0
0
4
0
11
0
0
7
0
22
36
51
12
7
6
4
2
48
28
8
63
22
49
13
6
2
108
7
9
44
0
15
8
0
4
30
12
99
105
6
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
58
0...

result:

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