QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#127948#5414. Stop, Yesterday Please No MorericonduongcungWA 12ms3824kbC++203.4kb2023-07-20 12:34:272023-07-20 12:34:29

詳細信息

Test #1:

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

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: 12ms
memory: 3824kb

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
0
11
12
15
1
240
1
0
0
7
3
18
0
2
26
1
1
8
1
1
0
69
6
25
9
8
0
2
6
9
0
0
320
6
0
0
0
1
4
0
1
0
0
4
0
22
0
51
8
0
6
0
0
48
28
8
18
1
1
0
4
1
11
5
2
44
0
0
9
0
4
30
14
1
105
3
2
17
0
66
1
11
28
1
1
19
0
5
13
90
0
2
31
0
48
2
13
5
0
30
0
7
14
2
2
1
5
15
0
18
0
13
0
53
0
2
9
48
2
0
225
1
44
21
10...

result:

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