QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#682031#5414. Stop, Yesterday Please No MoreZhangYiDeTL 1ms7860kbC++172.3kb2024-10-27 13:36:032024-10-27 13:36:05

詳細信息

Test #1:

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

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
Time Limit Exceeded

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
0
5
15
16
240
3
2
0
1
7
18
9
0
7
7
108
3
0
1
1
26
0
34
7
4
0
5
4
9
3
4
320
1
5
0
0
0
3
1
0
0
0
7
0
22
23
51
17
0
6
1
8
48
28
8
15
1
42
0
2
2
11
3
2
44
0
8
3
2
4
30
12
28
105
0
14
17
0
66
1
11
28
8
14
6
4
6
22
90
7
7
37
0
48
5
9
10
0
30
1
8
20
6
6
4
10
22
2
14
0
3
9
3
6
6
10
48
11
1
225
12
1...

result: