QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#560094#5414. Stop, Yesterday Please No Moreucup-team1063WA 6ms6080kbC++202.5kb2024-09-12 12:27:512024-09-12 12:27:51

詳細信息

Test #1:

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

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: 6ms
memory: 6080kb

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
14
15
12
240
15
0
0
9
14
18
22
3
1
10
106
4
1
1
4
7
0
30
13
8
0
8
6
9
14
5
320
11
3
1
0
0
13
0
5
0
0
8
0
22
13
51
23
7
6
2
2
48
28
8
65
6
49
2
7
2
108
3
6
44
0
15
9
0
4
30
9
99
105
10
14
17
0
66
10
11
28
52
34
24
12
8
56
90
5
0
121
1
48
12
29
3
0
30
7
5
3
6
4
45
17
34
0
7
0
13
0
3
0
5
2...

result:

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