QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#681943#5414. Stop, Yesterday Please No MoreMaMengQiRE 1ms7608kbC++172.1kb2024-10-27 13:06:132024-10-27 13:06:14

詳細信息

Test #1:

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

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
Runtime Error

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
3
240
3
7
0
1
7
18
10
0
7
7
108
3
0
1
1
26
0
36
4
6
0
5
4
9
1
4
320

result: