QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#560066#5414. Stop, Yesterday Please No Moreucup-team1063WA 6ms6364kbC++202.5kb2024-09-12 11:55:282024-09-12 11:55:28

详细

Test #1:

score: 100
Accepted
time: 1ms
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: 6364kb

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

result:

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